Command Diff
The following table highlights the main differences in naming between vtctlclient
and vtctldclient
.
Unless noted here, command names have a one-to-one mapping between the legacy vtctlclient
and vtctldclient
, though output formats may have changed (e.g. GetKeyspace
now outputs valid JSON). For stronger guarantees of compatibility, we highly encourage programming directly against the VtctldServer gRPC API.
Command name differences
vtctlclient command name (OLD) | vtctldclient command name (NEW) | |
---|---|---|
N/A | ApplyShardRoutingRules | |
CopySchemaShard | (deleted) | |
CreateLookupVindex | (not yet migrated) | |
DeleteShard | DeleteShards | |
DeleteTablet | DeleteTablets | |
ExecuteFetchAsDba | ExecuteFetchAsDBA | |
ExternalizeVindex | (not yet migrated) | |
ListBackups | GetBackups | |
N/A | GetFullStatus | |
N/A | GetShardRoutingRules | |
GetShardReplication | ShardReplicationPositions | |
GetSrvKeyspace | GetSrvKeyspaces | |
N/A | GetSrvVSchemas | |
N/A | GetTabletVersion | |
ListAllTablets , ListShardTablets , ListTablets | GetTablets | |
N/A | GetTopologyPath | |
N/A | GetWorkflows | |
InitShardPrimary | (deleted) | |
Migrate | (not yet migrated) | |
Mount | (not yet migrated) | |
OnlineDDL | (not yet migrated) | |
Ping | PingTablet | |
N/A | SetKeyspaceDurabilityPolicy | |
SetReadOnly , SetReadWrite | SetWritable | |
Sleep | SleepTablet | |
TopoCat , TopoCp | (not yet migrated) | |
UpdateSrvKeyspacePartition | (not yet migrated) | |
UpdateTabletAddrs | (deleted) | |
VReplicationExec | (not yet migrated) | |
ValidatePermissionsKeyspace , ValidatePermissionsShard | (deleted) | |
VtctldCommand | N/A | |
WaitForFilteredReplication | (deleted) | |
Workflow | (deleted) |