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 LookupVindex create
DeleteShard DeleteShards
DeleteTablet DeleteTablets
ExecuteFetchAsAllPrivs (not yet migrated)
ExecuteFetchAsDba ExecuteFetchAsDBA
ExternalizeVindex LookupVindex externalize
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)
Ping PingTablet
N/A SetKeyspaceDurabilityPolicy
SetReadOnly, SetReadWrite SetWritable
Sleep SleepTablet
TopoCat GetTopologyPath
TopoCp (not yet migrated)
UpdateSrvKeyspacePartition (not yet migrated)
UpdateTabletAddrs (deleted)
VReplicationExec (deleted)
ValidatePermissionsKeyspace, ValidatePermissionsShard (deleted)
VtctldCommand N/A
WaitForFilteredReplication (deleted)