vitess
vitess copied to clipboard
vtadmin: can't see orphaned tablet records
Overview of the Issue
Migrating to vtadmin from the old vtctld app, I noticed that vtadmin doesn't list all tablets, seemingly just healthy ones.
$ vtctlclient -server localhost:15999 ListAllTablets uscentral1 | grep companies
uscentral1-1005772700 companies 0 replica :0 :3306 [] <null>
uscentral1-1123889000 companies 0 primary uscentral1-companies-0-replica-c-0.vttablet:15002 uscentral1-companies-0-replica-c-0.vttablet:3306 [] 2023-09-29T06:36:48Z
This isn't urgent to resolve for us. It seems like the UI should list all, but maybe that's a non-trivial change given how vtadmin doesn't use the topo like the old app did.
Reproduction Steps
- Launch 2 tablets in a keyspace
- Shut down 1 tablet, but don't delete the tablet record
Binary Version
vtadmin v17.0.2
vtctld v15.0.2
vtgate v15.0.2
Operating System and Environment details
GKE v1.27
Log Fragments
No response