Get desktop application:
View/edit binary Protocol Buffers messages
Used as request type in: tabletmanagerservice.TabletManager.ApplySchema
BatchSize indicates how many queries to apply together.
DisableForeignKeyChecks will result in setting foreign_key_checks to off before applying the schema.
Used as response type in: tabletmanagerservice.TabletManager.ApplySchema
Used as request type in: tabletmanagerservice.TabletManager.Backup
IncrementalFromPos indicates a position of a previous backup. When this value is non-empty then the backup becomes incremental and applies as of given position.
UpgradeSafe indicates if the backup should be taken with innodb_fast_shutdown=0 so that it's a backup that can be used for an upgrade.
BackupEngine specifies if we want to use a particular backup engine for this backup request
MysqlShutdownTimeout is the timeout in seconds to wait for MySQL to shutdown before taking the backup. If not set, the default value is used.
Used as response type in: tabletmanagerservice.TabletManager.Backup
Used as request type in: tabletmanagerservice.TabletManager.ChangeTags
Used as response type in: tabletmanagerservice.TabletManager.ChangeTags
Used as request type in: tabletmanagerservice.TabletManager.ChangeType
Used as response type in: tabletmanagerservice.TabletManager.ChangeType
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.CheckThrottler
SkipRequestHeartbeats ensures this check does not renew heartbeat lease
OKIfNotExists asks the throttler to return OK even if the metric does not exist
Used as response type in: tabletmanagerservice.TabletManager.CheckThrottler
Used as field type in:
Value is the metric value collected by the tablet
Threshold is the throttling threshold the table was comparing the value with
Error indicates an error retrieving the value
Message
RecentlyChecked indicates that the tablet has been hit with a user-facing check, which can then imply that heartbeats lease should be renwed.
Metrics is a map (metric name -> metric value/error) so that the client has as much information as possible about all the checked metrics.
AppName is the name of app that was matched by the throttler
Summary is a human readable analysis of the result
ResponseCode is the enum representation of the response
Used in:
Name of the metric
Value is the metric value collected by the tablet
Threshold is the throttling threshold the table was comparing the value with
Error indicates an error retrieving the value
Message
Scope used in this check
ResponseCode is the enum representation of the response
Used in:
, ,Used as request type in: tabletmanagerservice.TabletManager.ConcludeTransaction
Used as response type in: tabletmanagerservice.TabletManager.ConcludeTransaction
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.CreateVReplicationWorkflow
Optional parameters.
TabletTypes is the list of tablet types to use when selecting source tablets.
DeferSecondaryKeys specifies if secondary keys should be created in one shot after table copy finishes.
AutoStart specifies if the workflow should be started when created.
Should the workflow stop after the copy phase.
Used as response type in: tabletmanagerservice.TabletManager.CreateVReplicationWorkflow
DbPermission describes a single row in the mysql.db table Primary key is Host+Db+User
Used in:
Used as request type in: tabletmanagerservice.TabletManager.DeleteTableData
The key is the table that we want to delete data from. The value is the filter or WHERE clause to use when deleting data in the table.
BatchSize is the number of rows to delete in a single batch.
Used as response type in: tabletmanagerservice.TabletManager.DeleteTableData
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.DeleteVReplicationWorkflow
Used as response type in: tabletmanagerservice.TabletManager.DeleteVReplicationWorkflow
Used as request type in: tabletmanagerservice.TabletManager.DemotePrimary
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.DemotePrimary
PrimaryStatus represents the response from calling `SHOW BINARY LOG STATUS` on a primary that has been demoted.
Used as request type in: tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs
Used as response type in: tabletmanagerservice.TabletManager.ExecuteFetchAsAllPrivs
Used as request type in: tabletmanagerservice.TabletManager.ExecuteFetchAsApp
Used as response type in: tabletmanagerservice.TabletManager.ExecuteFetchAsApp
Used as request type in: tabletmanagerservice.TabletManager.ExecuteFetchAsDba
Used as response type in: tabletmanagerservice.TabletManager.ExecuteFetchAsDba
Used as request type in: tabletmanagerservice.TabletManager.ExecuteHook
Used as field type in:
Used as response type in: tabletmanagerservice.TabletManager.ExecuteHook
Used as field type in:
Used as request type in: tabletmanagerservice.TabletManager.ExecuteMultiFetchAsDba
Used as response type in: tabletmanagerservice.TabletManager.ExecuteMultiFetchAsDba
Used as request type in: tabletmanagerservice.TabletManager.ExecuteQuery
caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.
Used as response type in: tabletmanagerservice.TabletManager.ExecuteQuery
Used as request type in: tabletmanagerservice.TabletManager.FullStatus
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.FullStatus
Used as request type in: tabletmanagerservice.TabletManager.GetGlobalStatusVars
Used as response type in: tabletmanagerservice.TabletManager.GetGlobalStatusVars
Used as request type in: tabletmanagerservice.TabletManager.GetMaxValueForSequences
Used in:
The name of the sequence table. This will be used for mapping max value with table in the response.
Escaped column name specified for sequence in table.
Escaped name of the table using the sequence.
Escaped db name in use by the keyspace where the using table lives.
Used as response type in: tabletmanagerservice.TabletManager.GetMaxValueForSequences
Max used sequence value mapped with the backing sequence table.
Used as request type in: tabletmanagerservice.TabletManager.GetPermissions
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.GetPermissions
Used as request type in: tabletmanagerservice.TabletManager.GetReplicas
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.GetReplicas
Used as request type in: tabletmanagerservice.TabletManager.GetSchema
TableSchemaOnly specifies whether to limit the results to just table/view schema definition (CREATE TABLE/VIEW statements) and skip column/field information
Used as response type in: tabletmanagerservice.TabletManager.GetSchema
Used as request type in: tabletmanagerservice.TabletManager.GetThrottlerStatus
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.GetThrottlerStatus
Used as field type in:
TabletAlias of probed tablet
IsLeader indicates if the tablet is the leader of the shard, ie. the primary
IsOpen per stateManager
IsEnabled per throttler configuration
IsDormant: whether the throttler is dormant, ie has not received any checks in a while and goes into low-frequency probing mode.
LagMetricQuery is the query used to check the lag metric, a constant used by the throttler.
CustomMetricQuery is the query used to check the custom metric, supplied by the user.
DefaultThreshold is the threshold used by the throttler for the default metric (lag or custom in single-metric throttlers)
MetricNameUsedAsDefault is the name of the metric used as the default metric: "lag" or "custom", for backwards compatibility with single-metric throttlers
AggregatedMetrics is a map of metric names to their values/errors Names are, for example, "self", "self/lag", "shard/lag", "shard/loadavg", etc.
MetricThresholds is a map of metric names to their thresholds.
MetricsHealth is a map of metric names to their health status.
ThrottledApps is a map of app names to their throttling rules
AppCheckedMetrics is a map of app names to their assigned metrics
RecentApps is a map of app names to their recent check status
Used in:
Used in:
Used in:
ResponseCode is the enum representation of the response
Used as request type in: tabletmanagerservice.TabletManager.GetTransactionInfo
Used as response type in: tabletmanagerservice.TabletManager.GetTransactionInfo
Used as request type in: tabletmanagerservice.TabletManager.GetUnresolvedTransactions
Used as response type in: tabletmanagerservice.TabletManager.GetUnresolvedTransactions
Used as request type in: tabletmanagerservice.TabletManager.HasVReplicationWorkflows
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.HasVReplicationWorkflows
Used as request type in: tabletmanagerservice.TabletManager.InitPrimary
Used as response type in: tabletmanagerservice.TabletManager.InitPrimary
Used as request type in: tabletmanagerservice.TabletManager.InitReplica
Used as response type in: tabletmanagerservice.TabletManager.InitReplica
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.LockTables
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.LockTables
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.MysqlHostMetrics
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.MysqlHostMetrics
Permissions have all the rows in mysql.{user,db} tables, (all rows are sorted by primary key)
Used in:
,Used as request type in: tabletmanagerservice.TabletManager.Ping
Used as response type in: tabletmanagerservice.TabletManager.Ping
Used as request type in: tabletmanagerservice.TabletManager.PopulateReparentJournal
Used as response type in: tabletmanagerservice.TabletManager.PopulateReparentJournal
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.PreflightSchema
Used as response type in: tabletmanagerservice.TabletManager.PreflightSchema
change_results has for each change the schema before and after it. The number of elements is identical to the length of "changes" in the request.
Used as request type in: tabletmanagerservice.TabletManager.PrimaryPosition
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.PrimaryPosition
Used as request type in: tabletmanagerservice.TabletManager.PrimaryStatus
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.PrimaryStatus
Used as request type in: tabletmanagerservice.TabletManager.PromoteReplica
Used as response type in: tabletmanagerservice.TabletManager.PromoteReplica
Used as request type in: tabletmanagerservice.TabletManager.ReadReparentJournalInfo
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.ReadReparentJournalInfo
Used as request type in: tabletmanagerservice.TabletManager.ReadTransaction
Used as response type in: tabletmanagerservice.TabletManager.ReadTransaction
Used as request type in: tabletmanagerservice.TabletManager.ReadVReplicationWorkflow
Used as response type in: tabletmanagerservice.TabletManager.ReadVReplicationWorkflow
Used as field type in:
Used in:
Used as request type in: tabletmanagerservice.TabletManager.ReadVReplicationWorkflows
Used as response type in: tabletmanagerservice.TabletManager.ReadVReplicationWorkflows
Used as request type in: tabletmanagerservice.TabletManager.RefreshState
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.RefreshState
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.ReloadSchema
wait_position allows scheduling a schema reload to occur after a given DDL has replicated to this server, by specifying a replication position to wait for. Leave empty to trigger the reload immediately.
Used as response type in: tabletmanagerservice.TabletManager.ReloadSchema
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.ReplicaWasPromoted
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.ReplicaWasPromoted
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.ReplicaWasRestarted
the parent alias the tablet should have
Used as response type in: tabletmanagerservice.TabletManager.ReplicaWasRestarted
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.ReplicationStatus
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.ReplicationStatus
Used as request type in: tabletmanagerservice.TabletManager.ResetReplicationParameters
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.ResetReplicationParameters
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.ResetReplication
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.ResetReplication
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.ResetSequences
Used as response type in: tabletmanagerservice.TabletManager.ResetSequences
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.RestoreFromBackup
RestoreToPos indicates a position for a point-in-time recovery. The recovery is expected to utilize one full backup, followed by zero or more incremental backups, that reach the precise desired position
Dry run does not actually performs the restore, but validates the steps and availability of backups
RestoreToTimestamp, if given, requested an inremental restore up to (and excluding) the given timestamp. RestoreToTimestamp and RestoreToPos are mutually exclusive.
AllowedBackupEngines, if present will filter out any backups taken with engines not included in the list
Used as response type in: tabletmanagerservice.TabletManager.RestoreFromBackup
Used as request type in: tabletmanagerservice.TabletManager.RunHealthCheck
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.RunHealthCheck
(message has no fields)
Used in:
before_schema holds the schema before each change.
after_schema holds the schema after each change.
Used in:
, , , ,Used as request type in: tabletmanagerservice.TabletManager.SetReadOnly
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.SetReadOnly
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.SetReadWrite
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.SetReadWrite
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.SetReplicationSource
Used as response type in: tabletmanagerservice.TabletManager.SetReplicationSource
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.Sleep
duration is in nanoseconds
Used as response type in: tabletmanagerservice.TabletManager.Sleep
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.StartReplication
Used as response type in: tabletmanagerservice.TabletManager.StartReplication
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.StartReplicationUntilAfter
Used as response type in: tabletmanagerservice.TabletManager.StartReplicationUntilAfter
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.StopReplicationAndGetStatus
Used as response type in: tabletmanagerservice.TabletManager.StopReplicationAndGetStatus
Status represents the replication status call right before, and right after telling the replica to stop.
Used as request type in: tabletmanagerservice.TabletManager.StopReplicationMinimum
Used as response type in: tabletmanagerservice.TabletManager.StopReplicationMinimum
Used as request type in: tabletmanagerservice.TabletManager.StopReplication
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.StopReplication
(message has no fields)
Used in:
,the table name
the SQL to run to create the table
the columns in the order that will be used to dump and load the data
the primary key columns in the primary key order
type is either mysqlctl.TableBaseTable or mysqlctl.TableView
how much space the data file takes.
approximate number of rows
column names along with their types. NOTE: this is a superset of columns.
This structure allows us to manage tablet selection preferences which are eventually passed to a TabletPicker.
Used in:
, , , , , , , , ,Don't change any existing value
Used as request type in: tabletmanagerservice.TabletManager.UndoDemotePrimary
Used as response type in: tabletmanagerservice.TabletManager.UndoDemotePrimary
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.UnlockTables
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.UnlockTables
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.UpdateSequenceTables
Used in:
The name of the sequence table.
The dbName in use by the keyspace where the backing table lives.
The maximum used sequence value.
Used as response type in: tabletmanagerservice.TabletManager.UpdateSequenceTables
(message has no fields)
UpdateVReplicationWorkflowRequest is used to update an existing VReplication workflow. Note that the following fields MUST have an explicit value provided if you do NOT wish to update the existing value to the given type's ZeroValue: cells, tablet_types, on_ddl, and state. TODO: leverage the optional modifier for these fields rather than using SimulatedNull values: https://github.com/vitessio/vitess/issues/15627
Used as request type in: tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow
Used as field type in:
Specify filter rules which need to be appended in the existing binlogsource filter rules.
Used as response type in: tabletmanagerservice.TabletManager.UpdateVReplicationWorkflow
UpdateVReplicationWorkflowsRequest is used to update multiple existing VReplication workflows. Note that the following fields MUST have an explicit value provided if you do NOT wish to update the existing values to the given type's ZeroValue: state, message, and stop_position. TODO: leverage the optional modifier for these fields rather than using SimulatedNull values: https://github.com/vitessio/vitess/issues/15627
Used as request type in: tabletmanagerservice.TabletManager.UpdateVReplicationWorkflows
Used as response type in: tabletmanagerservice.TabletManager.UpdateVReplicationWorkflows
UserPermission describes a single row in the mysql.user table Primary key is Host+User PasswordChecksum is the crc64 of the password, for security reasons
Used in:
Used in:
Used in:
options that influence the tablet selected by the picker for streaming data from
Used in:
options that only influence how vdiff differences are reported
Used in:
Used as request type in: tabletmanagerservice.TabletManager.VDiff
Used as response type in: tabletmanagerservice.TabletManager.VDiff
Used as field type in:
If the source value is nil then it's the same as the target and the target value should be used for both.
Used as request type in: tabletmanagerservice.TabletManager.VReplicationExec
Used as response type in: tabletmanagerservice.TabletManager.VReplicationExec
Used as request type in: tabletmanagerservice.TabletManager.VReplicationWaitForPos
Used as response type in: tabletmanagerservice.TabletManager.VReplicationWaitForPos
(message has no fields)
Used as request type in: tabletmanagerservice.TabletManager.ValidateVReplicationPermissions
(message has no fields)
Used as response type in: tabletmanagerservice.TabletManager.ValidateVReplicationPermissions
The --db_filtered_user on the tablet.
Does the user have the minimum privileges needed to manage vreplication metadata.
Used as request type in: tabletmanagerservice.TabletManager.WaitForPosition
Used as response type in: tabletmanagerservice.TabletManager.WaitForPosition
(message has no fields)