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)
CreateLookupVindex(not yet migrated)
DeleteShardDeleteShards
DeleteTabletDeleteTablets
ExecuteFetchAsDbaExecuteFetchAsDBA
ExternalizeVindex(not yet migrated)
ListBackupsGetBackups
N/AGetFullStatus
N/AGetShardRoutingRules
GetShardReplicationShardReplicationPositions
GetSrvKeyspaceGetSrvKeyspaces
N/AGetSrvVSchemas
N/AGetTabletVersion
ListAllTablets, ListShardTablets, ListTabletsGetTablets
N/AGetTopologyPath
N/AGetWorkflows
InitShardPrimary(deleted)
Migrate(not yet migrated)
Mount(not yet migrated)
OnlineDDL(not yet migrated)
PingPingTablet
N/ASetKeyspaceDurabilityPolicy
SetReadOnly, SetReadWriteSetWritable
SleepSleepTablet
TopoCat, TopoCp(not yet migrated)
UpdateSrvKeyspacePartition(not yet migrated)
UpdateTabletAddrs(deleted)
VReplicationExec(not yet migrated)
ValidatePermissionsKeyspace, ValidatePermissionsShard(deleted)
VtctldCommandN/A
WaitForFilteredReplication(deleted)
Workflow(deleted)