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/AApplyShardRoutingRules
CopySchemaShard(deleted)
CreateLookupVindexLookupVindex create
DeleteShardDeleteShards
DeleteTabletDeleteTablets
ExecuteFetchAsAllPrivs(not yet migrated)
ExecuteFetchAsDbaExecuteFetchAsDBA
ExternalizeVindexLookupVindex externalize
ListBackupsGetBackups
N/AGetFullStatus
N/AGetShardRoutingRules
GetShardReplicationShardReplicationPositions
GetSrvKeyspaceGetSrvKeyspaces
N/AGetSrvVSchemas
N/AGetTabletVersion
ListAllTablets, ListShardTablets, ListTabletsGetTablets
N/AGetTopologyPath
N/AGetWorkflows
InitShardPrimary(deleted)
PingPingTablet
N/ASetKeyspaceDurabilityPolicy
SetReadOnly, SetReadWriteSetWritable
SleepSleepTablet
TopoCatGetTopologyPath
TopoCp(not yet migrated)
UpdateSrvKeyspacePartition(not yet migrated)
UpdateTabletAddrs(deleted)
VReplicationExec(deleted)
ValidatePermissionsKeyspace, ValidatePermissionsShard(deleted)
VtctldCommandN/A
WaitForFilteredReplication(deleted)