зеркало из https://github.com/github/vitess-gh.git
delete unused flags and handling of deprecated protobuf fields (#10612)
* deprecation: delete unused flags and handling of deprecated protobuf fields Signed-off-by: deepthi <deepthi@planetscale.com> * test: fix TestHelpOutput assertion Signed-off-by: Manan Gupta <manan@planetscale.com> * endtoend: fix tests that were using deleted flag enable-autocommit Signed-off-by: deepthi <deepthi@planetscale.com> * deprecation: reserve multiple fields on same line, found and reserved more deprecated fields Signed-off-by: deepthi <deepthi@planetscale.com> * deprecation: delete handling of deprecated fields from ExecuteBatch and StreamExecute RPCs Signed-off-by: deepthi <deepthi@planetscale.com> * java: remove deleted asTransaction field from executeBatch Signed-off-by: deepthi <deepthi@planetscale.com> Co-authored-by: Manan Gupta <manan@planetscale.com>
This commit is contained in:
Родитель
9911b6fbc5
Коммит
2599788276
|
@ -2,8 +2,19 @@
|
|||
|
||||
### Command-line syntax deprecations
|
||||
|
||||
#### vttablet startup flag --enable-query-plan-field-caching
|
||||
This flag is now deprecated. It will be removed in v16.
|
||||
#### vttablet startup flag deletions
|
||||
The following VTTablet flags were deprecated in 7.0. They have now been deleted
|
||||
- --queryserver-config-message-conn-pool-size
|
||||
- --queryserver-config-message-conn-pool-prefill-parallelism
|
||||
- --client-found-rows-pool-size --queryserver-config-transaction-cap will be used instead
|
||||
- --transaction_shutdown_grace_period Use --shutdown_grace_period instead
|
||||
- --queryserver-config-max-dml-rows
|
||||
- --queryserver-config-allowunsafe-dmls
|
||||
- --pool-name-prefix
|
||||
- --enable-autocommit Autocommit is always allowed
|
||||
|
||||
#### vttablet startup flag deprecations
|
||||
- --enable-query-plan-field-caching is now deprecated. It will be removed in v16.
|
||||
|
||||
### New Syntax
|
||||
|
||||
|
|
|
@ -67,8 +67,6 @@ Usage of vttablet:
|
|||
catch and ignore SIGPIPE on stdout and stderr if specified
|
||||
--ceph_backup_storage_config string
|
||||
Path to JSON config file for ceph backup storage (default ceph_backup_config.json)
|
||||
--client-found-rows-pool-size int
|
||||
DEPRECATED: queryserver-config-transaction-cap will be used instead.
|
||||
--consul_auth_static_file string
|
||||
JSON File to read the topos/tokens from.
|
||||
--cpu_profile string
|
||||
|
@ -369,8 +367,6 @@ Usage of vttablet:
|
|||
the replication lag that is considered low enough to be healthy (default 30s)
|
||||
--emit_stats
|
||||
If set, emit stats to push-based monitoring and stats backends
|
||||
--enable-autocommit
|
||||
This flag is deprecated. Autocommit is always allowed. (default true)
|
||||
--enable-consolidator
|
||||
Synonym to -enable_consolidator (default true)
|
||||
--enable-consolidator-replicas
|
||||
|
@ -613,8 +609,6 @@ Usage of vttablet:
|
|||
If set, the process will write its pid to the named file, and delete it on graceful shutdown.
|
||||
--pitr_gtid_lookup_timeout duration
|
||||
PITR restore parameter: timeout for fetching gtid from timestamp. (default 1m0s)
|
||||
--pool-name-prefix string
|
||||
Deprecated
|
||||
--pool_hostname_resolve_interval duration
|
||||
if set force an update to all hostnames and reconnect if changed, defaults to 0 (disabled)
|
||||
--port int
|
||||
|
@ -637,22 +631,14 @@ Usage of vttablet:
|
|||
Number of rows a query has to return or affect before being logged; not useful for streaming queries. 0 means all queries will be logged.
|
||||
--queryserver-config-acl-exempt-acl string
|
||||
an acl that exempt from table acl checking (this acl is free to access any vitess tables).
|
||||
--queryserver-config-allowunsafe-dmls
|
||||
deprecated
|
||||
--queryserver-config-annotate-queries
|
||||
prefix queries to MySQL backend with comment indicating vtgate principal (user) and target tablet type
|
||||
--queryserver-config-enable-table-acl-dry-run
|
||||
If this flag is enabled, tabletserver will emit monitoring metrics and let the request pass regardless of table acl check results
|
||||
--queryserver-config-idle-timeout float
|
||||
query server idle timeout (in seconds), vttablet manages various mysql connection pools. This config means if a connection has not been used in given idle timeout, this connection will be removed from pool. This effectively manages number of connection objects and optimize the pool performance. (default 1800)
|
||||
--queryserver-config-max-dml-rows int
|
||||
query server max dml rows per statement, maximum number of rows allowed to return at a time for an update or delete with either 1) an equality where clauses on primary keys, or 2) a subselect statement. For update and delete statements in above two categories, vttablet will split the original query into multiple small queries based on this configuration value.
|
||||
--queryserver-config-max-result-size int
|
||||
query server max result size, maximum number of rows allowed to return from vttablet for non-streaming queries. (default 10000)
|
||||
--queryserver-config-message-conn-pool-prefill-parallelism int
|
||||
DEPRECATED: Unused.
|
||||
--queryserver-config-message-conn-pool-size int
|
||||
DEPRECATED
|
||||
--queryserver-config-message-postpone-cap int
|
||||
query server message postpone cap is the maximum number of messages that can be postponed at any given time. Set this number to substantially lower than transaction cap, so that the transaction pool isn't exhausted by the message subsystem. (default 4)
|
||||
--queryserver-config-passthrough-dmls
|
||||
|
@ -911,8 +897,6 @@ Usage of vttablet:
|
|||
Include VTGateCallerID.username when considering who the user is for the purpose of transaction limit. (default true)
|
||||
--transaction_limit_per_user float
|
||||
Maximum number of transactions a single user is allowed to use at any time, represented as fraction of -transaction_cap. (default 0.4)
|
||||
--transaction_shutdown_grace_period float
|
||||
DEPRECATED: use shutdown_grace_period instead.
|
||||
--twopc_abandon_age float
|
||||
time in seconds. Any unresolved transaction older than this time will be sent to the coordinator to be resolved.
|
||||
--twopc_coordinator_address string
|
||||
|
|
|
@ -63,7 +63,6 @@ var (
|
|||
"--enable_replication_reporter",
|
||||
"--serving_state_grace_period", "1s",
|
||||
"--binlog_player_protocol", "grpc",
|
||||
"--enable-autocommit",
|
||||
}
|
||||
vSchema = `
|
||||
{
|
||||
|
|
|
@ -57,7 +57,6 @@ var (
|
|||
"--enable_replication_reporter",
|
||||
"--serving_state_grace_period", "1s",
|
||||
"--binlog_player_protocol", "grpc",
|
||||
"--enable-autocommit",
|
||||
}
|
||||
vSchema = `
|
||||
{
|
||||
|
|
|
@ -3731,10 +3731,6 @@ type DemotePrimaryResponse struct {
|
|||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// Position is deprecated, and is a string representation of a demoted primaries executed position.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
DeprecatedPosition string `protobuf:"bytes,1,opt,name=deprecated_position,json=deprecatedPosition,proto3" json:"deprecated_position,omitempty"`
|
||||
// PrimaryStatus represents the response from calling `SHOW MASTER STATUS` on a primary that has been demoted.
|
||||
PrimaryStatus *replicationdata.PrimaryStatus `protobuf:"bytes,2,opt,name=primary_status,json=primaryStatus,proto3" json:"primary_status,omitempty"`
|
||||
}
|
||||
|
@ -3771,14 +3767,6 @@ func (*DemotePrimaryResponse) Descriptor() ([]byte, []int) {
|
|||
return file_tabletmanagerdata_proto_rawDescGZIP(), []int{75}
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *DemotePrimaryResponse) GetDeprecatedPosition() string {
|
||||
if x != nil {
|
||||
return x.DeprecatedPosition
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DemotePrimaryResponse) GetPrimaryStatus() *replicationdata.PrimaryStatus {
|
||||
if x != nil {
|
||||
return x.PrimaryStatus
|
||||
|
@ -4363,12 +4351,6 @@ type StopReplicationAndGetStatusResponse struct {
|
|||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// HybridStatus is deprecated. It currently represents a hybrid struct where all data represents the before state,
|
||||
// except for all position related data which comes from the after state. Please use status instead, which holds
|
||||
// discrete replication status calls before and after stopping the replica, or stopping the replica's io_thread.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
HybridStatus *replicationdata.Status `protobuf:"bytes,1,opt,name=hybrid_status,json=hybridStatus,proto3" json:"hybrid_status,omitempty"`
|
||||
// Status represents the replication status call right before, and right after telling the replica to stop.
|
||||
Status *replicationdata.StopReplicationStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||
}
|
||||
|
@ -4405,14 +4387,6 @@ func (*StopReplicationAndGetStatusResponse) Descriptor() ([]byte, []int) {
|
|||
return file_tabletmanagerdata_proto_rawDescGZIP(), []int{89}
|
||||
}
|
||||
|
||||
// Deprecated: Do not use.
|
||||
func (x *StopReplicationAndGetStatusResponse) GetHybridStatus() *replicationdata.Status {
|
||||
if x != nil {
|
||||
return x.HybridStatus
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StopReplicationAndGetStatusResponse) GetStatus() *replicationdata.StopReplicationStatus {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
|
@ -5628,16 +5602,13 @@ var file_tabletmanagerdata_proto_rawDesc = []byte{
|
|||
0x6e, 0x63, 0x22, 0x15, 0x0a, 0x13, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63,
|
||||
0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6d,
|
||||
0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x22, 0x93, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d,
|
||||
0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x13, 0x64,
|
||||
0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x12, 0x64, 0x65,
|
||||
0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x12, 0x45, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69,
|
||||
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61,
|
||||
0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72,
|
||||
0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x36, 0x0a, 0x18, 0x55, 0x6e, 0x64, 0x6f, 0x44,
|
||||
0x74, 0x22, 0x64, 0x0a, 0x15, 0x44, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61,
|
||||
0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0e, 0x70, 0x72,
|
||||
0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x52, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75,
|
||||
0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x36, 0x0a, 0x18, 0x55, 0x6e, 0x64, 0x6f, 0x44,
|
||||
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22,
|
||||
|
@ -5688,122 +5659,119 @@ var file_tabletmanagerdata_proto_rawDesc = []byte{
|
|||
0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63,
|
||||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x13, 0x73, 0x74, 0x6f, 0x70, 0x52,
|
||||
0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xa7,
|
||||
0x01, 0x0a, 0x23, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x68, 0x79, 0x62, 0x72, 0x69, 0x64,
|
||||
0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||||
0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e,
|
||||
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x68, 0x79, 0x62, 0x72,
|
||||
0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69,
|
||||
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52,
|
||||
0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x33, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x6d,
|
||||
0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63, 0x22, 0x34, 0x0a,
|
||||
0x16, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x22, 0x56, 0x0a, 0x0d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65,
|
||||
0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75,
|
||||
0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f,
|
||||
0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61,
|
||||
0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x36, 0x0a, 0x0e, 0x42,
|
||||
0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a,
|
||||
0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c,
|
||||
0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76,
|
||||
0x65, 0x6e, 0x74, 0x22, 0x49, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72,
|
||||
0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x2d, 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69,
|
||||
0x6d, 0x65, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x41,
|
||||
0x0a, 0x19, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63,
|
||||
0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x05, 0x65,
|
||||
0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67,
|
||||
0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e,
|
||||
0x74, 0x22, 0x5c, 0x0a, 0x0c, 0x56, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66,
|
||||
0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66,
|
||||
0x6c, 0x6f, 0x77, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22,
|
||||
0x3b, 0x0a, 0x0d, 0x56, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65,
|
||||
0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xdb, 0x01, 0x0a,
|
||||
0x0c, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f, 0x72,
|
||||
0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f, 0x72,
|
||||
0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12,
|
||||
0x1f, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
|
||||
0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x64, 0x69, 0x66, 0x66, 0x55, 0x75, 0x69, 0x64, 0x12,
|
||||
0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x1f, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
|
||||
0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6a, 0x0a, 0x0d, 0x56, 0x44,
|
||||
0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x6f,
|
||||
0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x71, 0x75,
|
||||
0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52,
|
||||
0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x64, 0x69, 0x66, 0x66,
|
||||
0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x64, 0x69,
|
||||
0x66, 0x66, 0x55, 0x75, 0x69, 0x64, 0x22, 0x79, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x50,
|
||||
0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12,
|
||||
0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x65, 0x6c, 0x6c,
|
||||
0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x65, 0x6c,
|
||||
0x6c, 0x22, 0x6a, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
|
||||
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x0a, 0x6f, 0x6e, 0x6c, 0x79, 0x5f,
|
||||
0x70, 0x5f, 0x6b, 0x5f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, 0x6c,
|
||||
0x79, 0x50, 0x4b, 0x53, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x71, 0x75,
|
||||
0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x62, 0x75, 0x67,
|
||||
0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x81, 0x02,
|
||||
0x0a, 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65,
|
||||
0x73, 0x75, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72,
|
||||
0x65, 0x73, 0x75, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f,
|
||||
0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x52,
|
||||
0x6f, 0x77, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12,
|
||||
0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x70, 0x63, 0x74, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x63, 0x74, 0x12, 0x27,
|
||||
0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
||||
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
|
||||
0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x38, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x65,
|
||||
0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d,
|
||||
0x70, 0x61, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6d, 0x61, 0x78, 0x45,
|
||||
0x78, 0x74, 0x72, 0x61, 0x52, 0x6f, 0x77, 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72,
|
||||
0x65, 0x22, 0xf2, 0x01, 0x0a, 0x0c, 0x56, 0x44, 0x69, 0x66, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0e, 0x70, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56,
|
||||
0x44, 0x69, 0x66, 0x66, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x73, 0x52, 0x0d, 0x70, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x12, 0x46, 0x0a, 0x0c, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d,
|
||||
0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66,
|
||||
0x43, 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x63, 0x6f, 0x72,
|
||||
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x6f,
|
||||
0x72, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x25, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
|
||||
0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
|
||||
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x30, 0x5a, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73,
|
||||
0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74,
|
||||
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e,
|
||||
0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x6b,
|
||||
0x0a, 0x23, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x41, 0x6e, 0x64, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x70, 0x6c,
|
||||
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x33, 0x0a, 0x15, 0x50,
|
||||
0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x69, 0x53, 0x79, 0x6e, 0x63,
|
||||
0x22, 0x34, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69,
|
||||
0x63, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f,
|
||||
0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f,
|
||||
0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x56, 0x0a, 0x0d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75,
|
||||
0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f,
|
||||
0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c,
|
||||
0x6f, 0x77, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x36,
|
||||
0x0a, 0x0e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x24, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52,
|
||||
0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x49, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72,
|
||||
0x65, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x2d, 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x74, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x69, 0x6d,
|
||||
0x65, 0x22, 0x41, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x72, 0x6f, 0x6d,
|
||||
0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24,
|
||||
0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e,
|
||||
0x6c, 0x6f, 0x67, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65,
|
||||
0x76, 0x65, 0x6e, 0x74, 0x22, 0x5c, 0x0a, 0x0c, 0x56, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x6f,
|
||||
0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x77, 0x6f,
|
||||
0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61,
|
||||
0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61,
|
||||
0x63, 0x65, 0x22, 0x3b, 0x0a, 0x0d, 0x56, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72,
|
||||
0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22,
|
||||
0xdb, 0x01, 0x0a, 0x0c, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
|
||||
0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
|
||||
0x6e, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
|
||||
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x43, 0x6f, 0x6d, 0x6d,
|
||||
0x61, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x64, 0x69, 0x66, 0x66, 0x5f, 0x75, 0x75, 0x69,
|
||||
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x64, 0x69, 0x66, 0x66, 0x55, 0x75,
|
||||
0x69, 0x64, 0x12, 0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61,
|
||||
0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x4f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6a, 0x0a,
|
||||
0x0d, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e,
|
||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a,
|
||||
0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12,
|
||||
0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75,
|
||||
0x6c, 0x74, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x64,
|
||||
0x69, 0x66, 0x66, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
||||
0x76, 0x64, 0x69, 0x66, 0x66, 0x55, 0x75, 0x69, 0x64, 0x22, 0x79, 0x0a, 0x12, 0x56, 0x44, 0x69,
|
||||
0x66, 0x66, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
|
||||
0x21, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70,
|
||||
0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6c,
|
||||
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43,
|
||||
0x65, 0x6c, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x65,
|
||||
0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
|
||||
0x43, 0x65, 0x6c, 0x6c, 0x22, 0x6a, 0x0a, 0x12, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70,
|
||||
0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x0a, 0x6f, 0x6e,
|
||||
0x6c, 0x79, 0x5f, 0x70, 0x5f, 0x6b, 0x5f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
|
||||
0x6f, 0x6e, 0x6c, 0x79, 0x50, 0x4b, 0x53, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67,
|
||||
0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65,
|
||||
0x62, 0x75, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d,
|
||||
0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
|
||||
0x22, 0x81, 0x02, 0x0a, 0x10, 0x56, 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, 0x72, 0x65, 0x4f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x09, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d,
|
||||
0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d,
|
||||
0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73,
|
||||
0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73,
|
||||
0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x70, 0x63, 0x74,
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x63,
|
||||
0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63,
|
||||
0x6f, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x38, 0x0a, 0x19, 0x6d, 0x61,
|
||||
0x78, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x5f,
|
||||
0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6d,
|
||||
0x61, 0x78, 0x45, 0x78, 0x74, 0x72, 0x61, 0x52, 0x6f, 0x77, 0x73, 0x54, 0x6f, 0x43, 0x6f, 0x6d,
|
||||
0x70, 0x61, 0x72, 0x65, 0x22, 0xf2, 0x01, 0x0a, 0x0c, 0x56, 0x44, 0x69, 0x66, 0x66, 0x4f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0e, 0x70, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x5f,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74,
|
||||
0x61, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x50, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x70, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x0c, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x44,
|
||||
0x69, 0x66, 0x66, 0x43, 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b,
|
||||
0x63, 0x6f, 0x72, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0e, 0x72,
|
||||
0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x6d, 0x61, 0x6e, 0x61,
|
||||
0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70,
|
||||
0x6f, 0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6f,
|
||||
0x72, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x30, 0x5a, 0x2e, 0x76, 0x69, 0x74,
|
||||
0x65, 0x73, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f,
|
||||
0x2f, 0x76, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74,
|
||||
0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -5973,22 +5941,21 @@ var file_tabletmanagerdata_proto_depIdxs = []int32{
|
|||
113, // 29: tabletmanagerdata.SetReplicationSourceRequest.parent:type_name -> topodata.TabletAlias
|
||||
113, // 30: tabletmanagerdata.ReplicaWasRestartedRequest.parent:type_name -> topodata.TabletAlias
|
||||
115, // 31: tabletmanagerdata.StopReplicationAndGetStatusRequest.stop_replication_mode:type_name -> replicationdata.StopReplicationMode
|
||||
111, // 32: tabletmanagerdata.StopReplicationAndGetStatusResponse.hybrid_status:type_name -> replicationdata.Status
|
||||
116, // 33: tabletmanagerdata.StopReplicationAndGetStatusResponse.status:type_name -> replicationdata.StopReplicationStatus
|
||||
117, // 34: tabletmanagerdata.BackupResponse.event:type_name -> logutil.Event
|
||||
118, // 35: tabletmanagerdata.RestoreFromBackupRequest.backup_time:type_name -> vttime.Time
|
||||
117, // 36: tabletmanagerdata.RestoreFromBackupResponse.event:type_name -> logutil.Event
|
||||
110, // 37: tabletmanagerdata.VExecResponse.result:type_name -> query.QueryResult
|
||||
103, // 38: tabletmanagerdata.VDiffRequest.options:type_name -> tabletmanagerdata.VDiffOptions
|
||||
110, // 39: tabletmanagerdata.VDiffResponse.output:type_name -> query.QueryResult
|
||||
100, // 40: tabletmanagerdata.VDiffOptions.picker_options:type_name -> tabletmanagerdata.VDiffPickerOptions
|
||||
102, // 41: tabletmanagerdata.VDiffOptions.core_options:type_name -> tabletmanagerdata.VDiffCoreOptions
|
||||
101, // 42: tabletmanagerdata.VDiffOptions.report_options:type_name -> tabletmanagerdata.VDiffReportOptions
|
||||
43, // [43:43] is the sub-list for method output_type
|
||||
43, // [43:43] is the sub-list for method input_type
|
||||
43, // [43:43] is the sub-list for extension type_name
|
||||
43, // [43:43] is the sub-list for extension extendee
|
||||
0, // [0:43] is the sub-list for field type_name
|
||||
116, // 32: tabletmanagerdata.StopReplicationAndGetStatusResponse.status:type_name -> replicationdata.StopReplicationStatus
|
||||
117, // 33: tabletmanagerdata.BackupResponse.event:type_name -> logutil.Event
|
||||
118, // 34: tabletmanagerdata.RestoreFromBackupRequest.backup_time:type_name -> vttime.Time
|
||||
117, // 35: tabletmanagerdata.RestoreFromBackupResponse.event:type_name -> logutil.Event
|
||||
110, // 36: tabletmanagerdata.VExecResponse.result:type_name -> query.QueryResult
|
||||
103, // 37: tabletmanagerdata.VDiffRequest.options:type_name -> tabletmanagerdata.VDiffOptions
|
||||
110, // 38: tabletmanagerdata.VDiffResponse.output:type_name -> query.QueryResult
|
||||
100, // 39: tabletmanagerdata.VDiffOptions.picker_options:type_name -> tabletmanagerdata.VDiffPickerOptions
|
||||
102, // 40: tabletmanagerdata.VDiffOptions.core_options:type_name -> tabletmanagerdata.VDiffCoreOptions
|
||||
101, // 41: tabletmanagerdata.VDiffOptions.report_options:type_name -> tabletmanagerdata.VDiffReportOptions
|
||||
42, // [42:42] is the sub-list for method output_type
|
||||
42, // [42:42] is the sub-list for method input_type
|
||||
42, // [42:42] is the sub-list for extension type_name
|
||||
42, // [42:42] is the sub-list for extension extendee
|
||||
0, // [0:42] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_tabletmanagerdata_proto_init() }
|
||||
|
|
|
@ -3336,13 +3336,6 @@ func (m *DemotePrimaryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
|
|||
i--
|
||||
dAtA[i] = 0x12
|
||||
}
|
||||
if len(m.DeprecatedPosition) > 0 {
|
||||
i -= len(m.DeprecatedPosition)
|
||||
copy(dAtA[i:], m.DeprecatedPosition)
|
||||
i = encodeVarint(dAtA, i, uint64(len(m.DeprecatedPosition)))
|
||||
i--
|
||||
dAtA[i] = 0xa
|
||||
}
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
|
@ -3892,16 +3885,6 @@ func (m *StopReplicationAndGetStatusResponse) MarshalToSizedBufferVT(dAtA []byte
|
|||
i--
|
||||
dAtA[i] = 0x12
|
||||
}
|
||||
if m.HybridStatus != nil {
|
||||
size, err := m.HybridStatus.MarshalToSizedBufferVT(dAtA[:i])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i -= size
|
||||
i = encodeVarint(dAtA, i, uint64(size))
|
||||
i--
|
||||
dAtA[i] = 0xa
|
||||
}
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
|
@ -5959,10 +5942,6 @@ func (m *DemotePrimaryResponse) SizeVT() (n int) {
|
|||
}
|
||||
var l int
|
||||
_ = l
|
||||
l = len(m.DeprecatedPosition)
|
||||
if l > 0 {
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.PrimaryStatus != nil {
|
||||
l = m.PrimaryStatus.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
|
@ -6166,10 +6145,6 @@ func (m *StopReplicationAndGetStatusResponse) SizeVT() (n int) {
|
|||
}
|
||||
var l int
|
||||
_ = l
|
||||
if m.HybridStatus != nil {
|
||||
l = m.HybridStatus.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.Status != nil {
|
||||
l = m.Status.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
|
@ -13428,38 +13403,6 @@ func (m *DemotePrimaryResponse) UnmarshalVT(dAtA []byte) error {
|
|||
return fmt.Errorf("proto: DemotePrimaryResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field DeprecatedPosition", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.DeprecatedPosition = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
case 2:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field PrimaryStatus", wireType)
|
||||
|
@ -14448,42 +14391,6 @@ func (m *StopReplicationAndGetStatusResponse) UnmarshalVT(dAtA []byte) error {
|
|||
return fmt.Errorf("proto: StopReplicationAndGetStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field HybridStatus", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
if m.HybridStatus == nil {
|
||||
m.HybridStatus = &replicationdata.Status{}
|
||||
}
|
||||
if err := m.HybridStatus.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 2:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
|
||||
|
|
|
@ -495,11 +495,6 @@ type ExecuteRequest struct {
|
|||
Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
|
||||
// query is the query and bind variables to execute.
|
||||
Query *query.BoundQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
|
||||
// These values are deprecated. Use session instead.
|
||||
// TODO(sougou): remove in 3.1
|
||||
TabletType topodata.TabletType `protobuf:"varint,4,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"`
|
||||
KeyspaceShard string `protobuf:"bytes,6,opt,name=keyspace_shard,json=keyspaceShard,proto3" json:"keyspace_shard,omitempty"`
|
||||
Options *query.ExecuteOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ExecuteRequest) Reset() {
|
||||
|
@ -555,27 +550,6 @@ func (x *ExecuteRequest) GetQuery() *query.BoundQuery {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (x *ExecuteRequest) GetTabletType() topodata.TabletType {
|
||||
if x != nil {
|
||||
return x.TabletType
|
||||
}
|
||||
return topodata.TabletType(0)
|
||||
}
|
||||
|
||||
func (x *ExecuteRequest) GetKeyspaceShard() string {
|
||||
if x != nil {
|
||||
return x.KeyspaceShard
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExecuteRequest) GetOptions() *query.ExecuteOptions {
|
||||
if x != nil {
|
||||
return x.Options
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// ExecuteResponse is the returned value from Execute.
|
||||
type ExecuteResponse struct {
|
||||
state protoimpl.MessageState
|
||||
|
@ -658,12 +632,6 @@ type ExecuteBatchRequest struct {
|
|||
Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
|
||||
// queries is a list of query and bind variables to execute.
|
||||
Queries []*query.BoundQuery `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"`
|
||||
// These values are deprecated. Use session instead.
|
||||
// TODO(sougou): remove in 3.1
|
||||
TabletType topodata.TabletType `protobuf:"varint,4,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"`
|
||||
AsTransaction bool `protobuf:"varint,5,opt,name=as_transaction,json=asTransaction,proto3" json:"as_transaction,omitempty"`
|
||||
KeyspaceShard string `protobuf:"bytes,6,opt,name=keyspace_shard,json=keyspaceShard,proto3" json:"keyspace_shard,omitempty"`
|
||||
Options *query.ExecuteOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ExecuteBatchRequest) Reset() {
|
||||
|
@ -719,34 +687,6 @@ func (x *ExecuteBatchRequest) GetQueries() []*query.BoundQuery {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (x *ExecuteBatchRequest) GetTabletType() topodata.TabletType {
|
||||
if x != nil {
|
||||
return x.TabletType
|
||||
}
|
||||
return topodata.TabletType(0)
|
||||
}
|
||||
|
||||
func (x *ExecuteBatchRequest) GetAsTransaction() bool {
|
||||
if x != nil {
|
||||
return x.AsTransaction
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *ExecuteBatchRequest) GetKeyspaceShard() string {
|
||||
if x != nil {
|
||||
return x.KeyspaceShard
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ExecuteBatchRequest) GetOptions() *query.ExecuteOptions {
|
||||
if x != nil {
|
||||
return x.Options
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// ExecuteBatchResponse is the returned value from ExecuteBatch.
|
||||
type ExecuteBatchResponse struct {
|
||||
state protoimpl.MessageState
|
||||
|
@ -827,11 +767,6 @@ type StreamExecuteRequest struct {
|
|||
CallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
|
||||
// query is the query and bind variables to execute.
|
||||
Query *query.BoundQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
|
||||
// These values are deprecated. Use session instead.
|
||||
// TODO(sougou): remove in 3.1
|
||||
TabletType topodata.TabletType `protobuf:"varint,3,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"`
|
||||
KeyspaceShard string `protobuf:"bytes,4,opt,name=keyspace_shard,json=keyspaceShard,proto3" json:"keyspace_shard,omitempty"`
|
||||
Options *query.ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
|
||||
// session carries the session state.
|
||||
Session *Session `protobuf:"bytes,6,opt,name=session,proto3" json:"session,omitempty"`
|
||||
}
|
||||
|
@ -882,27 +817,6 @@ func (x *StreamExecuteRequest) GetQuery() *query.BoundQuery {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (x *StreamExecuteRequest) GetTabletType() topodata.TabletType {
|
||||
if x != nil {
|
||||
return x.TabletType
|
||||
}
|
||||
return topodata.TabletType(0)
|
||||
}
|
||||
|
||||
func (x *StreamExecuteRequest) GetKeyspaceShard() string {
|
||||
if x != nil {
|
||||
return x.KeyspaceShard
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *StreamExecuteRequest) GetOptions() *query.ExecuteOptions {
|
||||
if x != nil {
|
||||
return x.Options
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StreamExecuteRequest) GetSession() *Session {
|
||||
if x != nil {
|
||||
return x.Session
|
||||
|
@ -1718,7 +1632,7 @@ var file_vtgate_proto_rawDesc = []byte{
|
|||
0x2e, 0x0a, 0x13, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b,
|
||||
0x5f, 0x67, 0x74, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x73, 0x65,
|
||||
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x47, 0x74, 0x69, 0x64, 0x73, 0x22,
|
||||
0xa7, 0x02, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0xaa, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61,
|
||||
0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64,
|
||||
|
@ -1727,158 +1641,132 @@ var file_vtgate_proto_rawDesc = []byte{
|
|||
0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x05, 0x71,
|
||||
0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x75, 0x65,
|
||||
0x72, 0x79, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71,
|
||||
0x75, 0x65, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74,
|
||||
0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f,
|
||||
0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
|
||||
0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6b,
|
||||
0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61,
|
||||
0x72, 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x45, 0x78, 0x65, 0x63,
|
||||
0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x8f, 0x01, 0x0a, 0x0f, 0x45, 0x78,
|
||||
0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a,
|
||||
0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76,
|
||||
0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65,
|
||||
0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53,
|
||||
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
||||
0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,
|
||||
0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xd1, 0x02, 0x0a, 0x13,
|
||||
0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43,
|
||||
0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49,
|
||||
0x64, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x07,
|
||||
0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
||||
0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79,
|
||||
0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0b, 0x74, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14,
|
||||
0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74,
|
||||
0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65,
|
||||
0x12, 0x25, 0x0a, 0x0e, 0x61, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x73, 0x54, 0x72, 0x61, 0x6e,
|
||||
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70,
|
||||
0x61, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0d, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f,
|
||||
0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x15, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
|
||||
0x9a, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
|
||||
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e,
|
||||
0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12,
|
||||
0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x07, 0x72, 0x65,
|
||||
0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x71, 0x75,
|
||||
0x65, 0x72, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x57, 0x69, 0x74, 0x68, 0x45, 0x72,
|
||||
0x72, 0x6f, 0x72, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xa7, 0x02, 0x0a,
|
||||
0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63,
|
||||
0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65,
|
||||
0x72, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64,
|
||||
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x0b,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x0e, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f,
|
||||
0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x65, 0x79,
|
||||
0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x6f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x71, 0x75,
|
||||
0x65, 0x72, 0x79, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x07, 0x73,
|
||||
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76,
|
||||
0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73,
|
||||
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
|
||||
0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,
|
||||
0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5d, 0x0a, 0x19, 0x52,
|
||||
0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c,
|
||||
0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74,
|
||||
0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61,
|
||||
0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74, 0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65,
|
||||
0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x0c, 0x56, 0x53, 0x74,
|
||||
0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e,
|
||||
0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x73, 0x6b, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x53, 0x6b, 0x65, 0x77, 0x12, 0x2d,
|
||||
0x0a, 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65,
|
||||
0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x68, 0x65, 0x61, 0x72,
|
||||
0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x26, 0x0a,
|
||||
0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x4f, 0x6e, 0x52, 0x65,
|
||||
0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x0e,
|
||||
0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c,
|
||||
0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72,
|
||||
0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0b,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0e, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e,
|
||||
0x56, 0x47, 0x74, 0x69, 0x64, 0x52, 0x05, 0x76, 0x67, 0x74, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x06,
|
||||
0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62,
|
||||
0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
||||
0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67,
|
||||
0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65,
|
||||
0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x05, 0x66,
|
||||
0x6c, 0x61, 0x67, 0x73, 0x22, 0x3d, 0x0a, 0x0f, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
|
||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67,
|
||||
0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65,
|
||||
0x6e, 0x74, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52,
|
||||
0x75, 0x65, 0x72, 0x79, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06,
|
||||
0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0x8f, 0x01, 0x0a,
|
||||
0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x25, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72,
|
||||
0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74,
|
||||
0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
|
||||
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xb3,
|
||||
0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70,
|
||||
0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c,
|
||||
0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53,
|
||||
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
||||
0x27, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
||||
0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72,
|
||||
0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x89, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x65,
|
||||
0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05,
|
||||
0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74,
|
||||
0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72,
|
||||
0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65,
|
||||
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24,
|
||||
0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c,
|
||||
0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69,
|
||||
0x65, 0x6c, 0x64, 0x73, 0x22, 0x6e, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63,
|
||||
0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f,
|
||||
0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52,
|
||||
0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67,
|
||||
0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x0a, 0x14, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05,
|
||||
0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74,
|
||||
0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72,
|
||||
0x72, 0x6f, 0x72, 0x2a, 0x44, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
|
||||
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x49, 0x4e, 0x47, 0x4c,
|
||||
0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x10, 0x02, 0x12, 0x09,
|
||||
0x0a, 0x05, 0x54, 0x57, 0x4f, 0x50, 0x43, 0x10, 0x03, 0x2a, 0x3c, 0x0a, 0x0b, 0x43, 0x6f, 0x6d,
|
||||
0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d,
|
||||
0x41, 0x4c, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x52, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a,
|
||||
0x04, 0x50, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, 0x4f, 0x43,
|
||||
0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x42, 0x36, 0x0a, 0x0f, 0x69, 0x6f, 0x2e, 0x76, 0x69,
|
||||
0x74, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x23, 0x76, 0x69, 0x74, 0x65,
|
||||
0x73, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f,
|
||||
0x76, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x2b, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x11, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75,
|
||||
0x65, 0x72, 0x79, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04,
|
||||
0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04,
|
||||
0x08, 0x07, 0x10, 0x08, 0x22, 0x9a, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,
|
||||
0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a,
|
||||
0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76,
|
||||
0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65,
|
||||
0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53,
|
||||
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
||||
0x30, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x16, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x57,
|
||||
0x69, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
|
||||
0x73, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63,
|
||||
0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61,
|
||||
0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
|
||||
0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08,
|
||||
0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72,
|
||||
0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
|
||||
0x42, 0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72,
|
||||
0x79, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x03,
|
||||
0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x43,
|
||||
0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c,
|
||||
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
|
||||
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73,
|
||||
0x75, 0x6c, 0x74, 0x22, 0x5d, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72,
|
||||
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c,
|
||||
0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x64, 0x74, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x74,
|
||||
0x69, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x72, 0x61,
|
||||
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x22, 0xa0, 0x01, 0x0a, 0x0c, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x46, 0x6c, 0x61, 0x67,
|
||||
0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x73, 0x6b,
|
||||
0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x69,
|
||||
0x7a, 0x65, 0x53, 0x6b, 0x65, 0x77, 0x12, 0x2d, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62,
|
||||
0x65, 0x61, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0d, 0x52, 0x11, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x49, 0x6e, 0x74,
|
||||
0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6f, 0x6e,
|
||||
0x5f, 0x72, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
|
||||
0x73, 0x74, 0x6f, 0x70, 0x4f, 0x6e, 0x52, 0x65, 0x73, 0x68, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x63, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x65,
|
||||
0x6c, 0x6c, 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x0e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70,
|
||||
0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c,
|
||||
0x65, 0x72, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x5f, 0x74,
|
||||
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x6f, 0x70, 0x6f,
|
||||
0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
|
||||
0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x76,
|
||||
0x67, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x69, 0x6e,
|
||||
0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x47, 0x74, 0x69, 0x64, 0x52, 0x05, 0x76,
|
||||
0x67, 0x74, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74,
|
||||
0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
||||
0x12, 0x2a, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x14, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
|
||||
0x46, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x3d, 0x0a, 0x0f,
|
||||
0x56, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x12, 0x2e, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x45, 0x76,
|
||||
0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x0e,
|
||||
0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c,
|
||||
0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72,
|
||||
0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x07,
|
||||
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
|
||||
0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07,
|
||||
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x42,
|
||||
0x6f, 0x75, 0x6e, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79,
|
||||
0x22, 0x89, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x45,
|
||||
0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x07, 0x73,
|
||||
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76,
|
||||
0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73,
|
||||
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73,
|
||||
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x46,
|
||||
0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x6e, 0x0a, 0x13,
|
||||
0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x43,
|
||||
0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x44, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49,
|
||||
0x64, 0x12, 0x29, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65, 0x73, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x0a, 0x14,
|
||||
0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x45,
|
||||
0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2a, 0x44, 0x0a, 0x0f, 0x54,
|
||||
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f,
|
||||
0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
|
||||
0x0a, 0x0a, 0x06, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d,
|
||||
0x55, 0x4c, 0x54, 0x49, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x57, 0x4f, 0x50, 0x43, 0x10,
|
||||
0x03, 0x2a, 0x3c, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
|
||||
0x50, 0x52, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x12,
|
||||
0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, 0x4f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x42,
|
||||
0x36, 0x0a, 0x0f, 0x69, 0x6f, 0x2e, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x5a, 0x23, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x69,
|
||||
0x74, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x2f, 0x76, 0x74, 0x67, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -1923,10 +1811,10 @@ var file_vtgate_proto_goTypes = []interface{}{
|
|||
(*query.QueryWarning)(nil), // 24: query.QueryWarning
|
||||
(*vtrpc.CallerID)(nil), // 25: vtrpc.CallerID
|
||||
(*query.BoundQuery)(nil), // 26: query.BoundQuery
|
||||
(topodata.TabletType)(0), // 27: topodata.TabletType
|
||||
(*vtrpc.RPCError)(nil), // 28: vtrpc.RPCError
|
||||
(*query.QueryResult)(nil), // 29: query.QueryResult
|
||||
(*query.ResultWithError)(nil), // 30: query.ResultWithError
|
||||
(*vtrpc.RPCError)(nil), // 27: vtrpc.RPCError
|
||||
(*query.QueryResult)(nil), // 28: query.QueryResult
|
||||
(*query.ResultWithError)(nil), // 29: query.ResultWithError
|
||||
(topodata.TabletType)(0), // 30: topodata.TabletType
|
||||
(*binlogdata.VGtid)(nil), // 31: binlogdata.VGtid
|
||||
(*binlogdata.Filter)(nil), // 32: binlogdata.Filter
|
||||
(*binlogdata.VEvent)(nil), // 33: binlogdata.VEvent
|
||||
|
@ -1950,49 +1838,43 @@ var file_vtgate_proto_depIdxs = []int32{
|
|||
25, // 11: vtgate.ExecuteRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
2, // 12: vtgate.ExecuteRequest.session:type_name -> vtgate.Session
|
||||
26, // 13: vtgate.ExecuteRequest.query:type_name -> query.BoundQuery
|
||||
27, // 14: vtgate.ExecuteRequest.tablet_type:type_name -> topodata.TabletType
|
||||
23, // 15: vtgate.ExecuteRequest.options:type_name -> query.ExecuteOptions
|
||||
28, // 16: vtgate.ExecuteResponse.error:type_name -> vtrpc.RPCError
|
||||
2, // 17: vtgate.ExecuteResponse.session:type_name -> vtgate.Session
|
||||
29, // 18: vtgate.ExecuteResponse.result:type_name -> query.QueryResult
|
||||
25, // 19: vtgate.ExecuteBatchRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
2, // 20: vtgate.ExecuteBatchRequest.session:type_name -> vtgate.Session
|
||||
26, // 21: vtgate.ExecuteBatchRequest.queries:type_name -> query.BoundQuery
|
||||
27, // 22: vtgate.ExecuteBatchRequest.tablet_type:type_name -> topodata.TabletType
|
||||
23, // 23: vtgate.ExecuteBatchRequest.options:type_name -> query.ExecuteOptions
|
||||
28, // 24: vtgate.ExecuteBatchResponse.error:type_name -> vtrpc.RPCError
|
||||
2, // 25: vtgate.ExecuteBatchResponse.session:type_name -> vtgate.Session
|
||||
30, // 26: vtgate.ExecuteBatchResponse.results:type_name -> query.ResultWithError
|
||||
25, // 27: vtgate.StreamExecuteRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
26, // 28: vtgate.StreamExecuteRequest.query:type_name -> query.BoundQuery
|
||||
27, // 29: vtgate.StreamExecuteRequest.tablet_type:type_name -> topodata.TabletType
|
||||
23, // 30: vtgate.StreamExecuteRequest.options:type_name -> query.ExecuteOptions
|
||||
2, // 31: vtgate.StreamExecuteRequest.session:type_name -> vtgate.Session
|
||||
29, // 32: vtgate.StreamExecuteResponse.result:type_name -> query.QueryResult
|
||||
25, // 33: vtgate.ResolveTransactionRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
25, // 34: vtgate.VStreamRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
27, // 35: vtgate.VStreamRequest.tablet_type:type_name -> topodata.TabletType
|
||||
31, // 36: vtgate.VStreamRequest.vgtid:type_name -> binlogdata.VGtid
|
||||
32, // 37: vtgate.VStreamRequest.filter:type_name -> binlogdata.Filter
|
||||
12, // 38: vtgate.VStreamRequest.flags:type_name -> vtgate.VStreamFlags
|
||||
33, // 39: vtgate.VStreamResponse.events:type_name -> binlogdata.VEvent
|
||||
25, // 40: vtgate.PrepareRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
2, // 41: vtgate.PrepareRequest.session:type_name -> vtgate.Session
|
||||
26, // 42: vtgate.PrepareRequest.query:type_name -> query.BoundQuery
|
||||
28, // 43: vtgate.PrepareResponse.error:type_name -> vtrpc.RPCError
|
||||
2, // 44: vtgate.PrepareResponse.session:type_name -> vtgate.Session
|
||||
34, // 45: vtgate.PrepareResponse.fields:type_name -> query.Field
|
||||
25, // 46: vtgate.CloseSessionRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
2, // 47: vtgate.CloseSessionRequest.session:type_name -> vtgate.Session
|
||||
28, // 48: vtgate.CloseSessionResponse.error:type_name -> vtrpc.RPCError
|
||||
35, // 49: vtgate.Session.ShardSession.target:type_name -> query.Target
|
||||
36, // 50: vtgate.Session.ShardSession.tablet_alias:type_name -> topodata.TabletAlias
|
||||
37, // 51: vtgate.Session.UserDefinedVariablesEntry.value:type_name -> query.BindVariable
|
||||
52, // [52:52] is the sub-list for method output_type
|
||||
52, // [52:52] is the sub-list for method input_type
|
||||
52, // [52:52] is the sub-list for extension type_name
|
||||
52, // [52:52] is the sub-list for extension extendee
|
||||
0, // [0:52] is the sub-list for field type_name
|
||||
27, // 14: vtgate.ExecuteResponse.error:type_name -> vtrpc.RPCError
|
||||
2, // 15: vtgate.ExecuteResponse.session:type_name -> vtgate.Session
|
||||
28, // 16: vtgate.ExecuteResponse.result:type_name -> query.QueryResult
|
||||
25, // 17: vtgate.ExecuteBatchRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
2, // 18: vtgate.ExecuteBatchRequest.session:type_name -> vtgate.Session
|
||||
26, // 19: vtgate.ExecuteBatchRequest.queries:type_name -> query.BoundQuery
|
||||
27, // 20: vtgate.ExecuteBatchResponse.error:type_name -> vtrpc.RPCError
|
||||
2, // 21: vtgate.ExecuteBatchResponse.session:type_name -> vtgate.Session
|
||||
29, // 22: vtgate.ExecuteBatchResponse.results:type_name -> query.ResultWithError
|
||||
25, // 23: vtgate.StreamExecuteRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
26, // 24: vtgate.StreamExecuteRequest.query:type_name -> query.BoundQuery
|
||||
2, // 25: vtgate.StreamExecuteRequest.session:type_name -> vtgate.Session
|
||||
28, // 26: vtgate.StreamExecuteResponse.result:type_name -> query.QueryResult
|
||||
25, // 27: vtgate.ResolveTransactionRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
25, // 28: vtgate.VStreamRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
30, // 29: vtgate.VStreamRequest.tablet_type:type_name -> topodata.TabletType
|
||||
31, // 30: vtgate.VStreamRequest.vgtid:type_name -> binlogdata.VGtid
|
||||
32, // 31: vtgate.VStreamRequest.filter:type_name -> binlogdata.Filter
|
||||
12, // 32: vtgate.VStreamRequest.flags:type_name -> vtgate.VStreamFlags
|
||||
33, // 33: vtgate.VStreamResponse.events:type_name -> binlogdata.VEvent
|
||||
25, // 34: vtgate.PrepareRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
2, // 35: vtgate.PrepareRequest.session:type_name -> vtgate.Session
|
||||
26, // 36: vtgate.PrepareRequest.query:type_name -> query.BoundQuery
|
||||
27, // 37: vtgate.PrepareResponse.error:type_name -> vtrpc.RPCError
|
||||
2, // 38: vtgate.PrepareResponse.session:type_name -> vtgate.Session
|
||||
34, // 39: vtgate.PrepareResponse.fields:type_name -> query.Field
|
||||
25, // 40: vtgate.CloseSessionRequest.caller_id:type_name -> vtrpc.CallerID
|
||||
2, // 41: vtgate.CloseSessionRequest.session:type_name -> vtgate.Session
|
||||
27, // 42: vtgate.CloseSessionResponse.error:type_name -> vtrpc.RPCError
|
||||
35, // 43: vtgate.Session.ShardSession.target:type_name -> query.Target
|
||||
36, // 44: vtgate.Session.ShardSession.tablet_alias:type_name -> topodata.TabletAlias
|
||||
37, // 45: vtgate.Session.UserDefinedVariablesEntry.value:type_name -> query.BindVariable
|
||||
46, // [46:46] is the sub-list for method output_type
|
||||
46, // [46:46] is the sub-list for method input_type
|
||||
46, // [46:46] is the sub-list for extension type_name
|
||||
46, // [46:46] is the sub-list for extension extendee
|
||||
0, // [0:46] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_vtgate_proto_init() }
|
||||
|
|
|
@ -465,28 +465,6 @@ func (m *ExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
|
|||
i -= len(m.unknownFields)
|
||||
copy(dAtA[i:], m.unknownFields)
|
||||
}
|
||||
if m.Options != nil {
|
||||
size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i -= size
|
||||
i = encodeVarint(dAtA, i, uint64(size))
|
||||
i--
|
||||
dAtA[i] = 0x3a
|
||||
}
|
||||
if len(m.KeyspaceShard) > 0 {
|
||||
i -= len(m.KeyspaceShard)
|
||||
copy(dAtA[i:], m.KeyspaceShard)
|
||||
i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShard)))
|
||||
i--
|
||||
dAtA[i] = 0x32
|
||||
}
|
||||
if m.TabletType != 0 {
|
||||
i = encodeVarint(dAtA, i, uint64(m.TabletType))
|
||||
i--
|
||||
dAtA[i] = 0x20
|
||||
}
|
||||
if m.Query != nil {
|
||||
size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i])
|
||||
if err != nil {
|
||||
|
@ -613,38 +591,6 @@ func (m *ExecuteBatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
|
|||
i -= len(m.unknownFields)
|
||||
copy(dAtA[i:], m.unknownFields)
|
||||
}
|
||||
if m.Options != nil {
|
||||
size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i -= size
|
||||
i = encodeVarint(dAtA, i, uint64(size))
|
||||
i--
|
||||
dAtA[i] = 0x3a
|
||||
}
|
||||
if len(m.KeyspaceShard) > 0 {
|
||||
i -= len(m.KeyspaceShard)
|
||||
copy(dAtA[i:], m.KeyspaceShard)
|
||||
i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShard)))
|
||||
i--
|
||||
dAtA[i] = 0x32
|
||||
}
|
||||
if m.AsTransaction {
|
||||
i--
|
||||
if m.AsTransaction {
|
||||
dAtA[i] = 1
|
||||
} else {
|
||||
dAtA[i] = 0
|
||||
}
|
||||
i--
|
||||
dAtA[i] = 0x28
|
||||
}
|
||||
if m.TabletType != 0 {
|
||||
i = encodeVarint(dAtA, i, uint64(m.TabletType))
|
||||
i--
|
||||
dAtA[i] = 0x20
|
||||
}
|
||||
if len(m.Queries) > 0 {
|
||||
for iNdEx := len(m.Queries) - 1; iNdEx >= 0; iNdEx-- {
|
||||
size, err := m.Queries[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
|
||||
|
@ -785,28 +731,6 @@ func (m *StreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
|
|||
i--
|
||||
dAtA[i] = 0x32
|
||||
}
|
||||
if m.Options != nil {
|
||||
size, err := m.Options.MarshalToSizedBufferVT(dAtA[:i])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i -= size
|
||||
i = encodeVarint(dAtA, i, uint64(size))
|
||||
i--
|
||||
dAtA[i] = 0x2a
|
||||
}
|
||||
if len(m.KeyspaceShard) > 0 {
|
||||
i -= len(m.KeyspaceShard)
|
||||
copy(dAtA[i:], m.KeyspaceShard)
|
||||
i = encodeVarint(dAtA, i, uint64(len(m.KeyspaceShard)))
|
||||
i--
|
||||
dAtA[i] = 0x22
|
||||
}
|
||||
if m.TabletType != 0 {
|
||||
i = encodeVarint(dAtA, i, uint64(m.TabletType))
|
||||
i--
|
||||
dAtA[i] = 0x18
|
||||
}
|
||||
if m.Query != nil {
|
||||
size, err := m.Query.MarshalToSizedBufferVT(dAtA[:i])
|
||||
if err != nil {
|
||||
|
@ -1570,17 +1494,6 @@ func (m *ExecuteRequest) SizeVT() (n int) {
|
|||
l = m.Query.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.TabletType != 0 {
|
||||
n += 1 + sov(uint64(m.TabletType))
|
||||
}
|
||||
l = len(m.KeyspaceShard)
|
||||
if l > 0 {
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.Options != nil {
|
||||
l = m.Options.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.unknownFields != nil {
|
||||
n += len(m.unknownFields)
|
||||
}
|
||||
|
@ -1631,20 +1544,6 @@ func (m *ExecuteBatchRequest) SizeVT() (n int) {
|
|||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
}
|
||||
if m.TabletType != 0 {
|
||||
n += 1 + sov(uint64(m.TabletType))
|
||||
}
|
||||
if m.AsTransaction {
|
||||
n += 2
|
||||
}
|
||||
l = len(m.KeyspaceShard)
|
||||
if l > 0 {
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.Options != nil {
|
||||
l = m.Options.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.unknownFields != nil {
|
||||
n += len(m.unknownFields)
|
||||
}
|
||||
|
@ -1691,17 +1590,6 @@ func (m *StreamExecuteRequest) SizeVT() (n int) {
|
|||
l = m.Query.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.TabletType != 0 {
|
||||
n += 1 + sov(uint64(m.TabletType))
|
||||
}
|
||||
l = len(m.KeyspaceShard)
|
||||
if l > 0 {
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.Options != nil {
|
||||
l = m.Options.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
}
|
||||
if m.Session != nil {
|
||||
l = m.Session.SizeVT()
|
||||
n += 1 + l + sov(uint64(l))
|
||||
|
@ -3325,93 +3213,6 @@ func (m *ExecuteRequest) UnmarshalVT(dAtA []byte) error {
|
|||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 4:
|
||||
if wireType != 0 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType)
|
||||
}
|
||||
m.TabletType = 0
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
m.TabletType |= topodata.TabletType(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
case 6:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShard", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.KeyspaceShard = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
case 7:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
if m.Options == nil {
|
||||
m.Options = &query.ExecuteOptions{}
|
||||
}
|
||||
if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skip(dAtA[iNdEx:])
|
||||
|
@ -3728,113 +3529,6 @@ func (m *ExecuteBatchRequest) UnmarshalVT(dAtA []byte) error {
|
|||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 4:
|
||||
if wireType != 0 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType)
|
||||
}
|
||||
m.TabletType = 0
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
m.TabletType |= topodata.TabletType(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
case 5:
|
||||
if wireType != 0 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field AsTransaction", wireType)
|
||||
}
|
||||
var v int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
v |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
m.AsTransaction = bool(v != 0)
|
||||
case 6:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShard", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.KeyspaceShard = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
case 7:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
if m.Options == nil {
|
||||
m.Options = &query.ExecuteOptions{}
|
||||
}
|
||||
if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skip(dAtA[iNdEx:])
|
||||
|
@ -4115,93 +3809,6 @@ func (m *StreamExecuteRequest) UnmarshalVT(dAtA []byte) error {
|
|||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 3:
|
||||
if wireType != 0 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field TabletType", wireType)
|
||||
}
|
||||
m.TabletType = 0
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
m.TabletType |= topodata.TabletType(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
case 4:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceShard", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= uint64(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.KeyspaceShard = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
case 5:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
|
||||
}
|
||||
var msglen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflow
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
msglen |= int(b&0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if msglen < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
postIndex := iNdEx + msglen
|
||||
if postIndex < 0 {
|
||||
return ErrInvalidLength
|
||||
}
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
if m.Options == nil {
|
||||
m.Options = &query.ExecuteOptions{}
|
||||
}
|
||||
if err := m.Options.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 6:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Session", wireType)
|
||||
|
|
|
@ -901,8 +901,8 @@ func (itmc *internalTabletManagerClient) SetReplicationSource(context.Context, *
|
|||
return fmt.Errorf("not implemented in vtcombo")
|
||||
}
|
||||
|
||||
func (itmc *internalTabletManagerClient) StopReplicationAndGetStatus(context.Context, *topodatapb.Tablet, replicationdatapb.StopReplicationMode) (*replicationdatapb.Status, *replicationdatapb.StopReplicationStatus, error) {
|
||||
return nil, nil, fmt.Errorf("not implemented in vtcombo")
|
||||
func (itmc *internalTabletManagerClient) StopReplicationAndGetStatus(context.Context, *topodatapb.Tablet, replicationdatapb.StopReplicationMode) (*replicationdatapb.StopReplicationStatus, error) {
|
||||
return nil, fmt.Errorf("not implemented in vtcombo")
|
||||
}
|
||||
|
||||
func (itmc *internalTabletManagerClient) PromoteReplica(context.Context, *topodatapb.Tablet, bool) (string, error) {
|
||||
|
|
|
@ -129,7 +129,6 @@ func TestEmergencyReparentShardSlow(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -248,7 +247,6 @@ func TestEmergencyReparentShardSlow(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
|
|
@ -3408,7 +3408,6 @@ func TestEmergencyReparentShard(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
|
|
@ -275,7 +275,6 @@ type TabletManagerClient struct {
|
|||
StopReplicationAndGetStatusDelays map[string]time.Duration
|
||||
// keyed by tablet alias.
|
||||
StopReplicationAndGetStatusResults map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}
|
||||
|
@ -1123,13 +1122,13 @@ func (fake *TabletManagerClient) StopReplication(ctx context.Context, tablet *to
|
|||
|
||||
// StopReplicationAndGetStatus is part of the tmclient.TabletManagerClient
|
||||
// interface.
|
||||
func (fake *TabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, mode replicationdatapb.StopReplicationMode) (*replicationdatapb.Status, *replicationdatapb.StopReplicationStatus, error) {
|
||||
func (fake *TabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, mode replicationdatapb.StopReplicationMode) (*replicationdatapb.StopReplicationStatus, error) {
|
||||
if fake.StopReplicationAndGetStatusResults == nil {
|
||||
return nil, nil, assert.AnError
|
||||
return nil, assert.AnError
|
||||
}
|
||||
|
||||
if tablet.Alias == nil {
|
||||
return nil, nil, assert.AnError
|
||||
return nil, assert.AnError
|
||||
}
|
||||
|
||||
key := topoproto.TabletAliasString(tablet.Alias)
|
||||
|
@ -1138,7 +1137,7 @@ func (fake *TabletManagerClient) StopReplicationAndGetStatus(ctx context.Context
|
|||
if delay, ok := fake.StopReplicationAndGetStatusDelays[key]; ok {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
return nil, nil, ctx.Err()
|
||||
return nil, ctx.Err()
|
||||
case <-time.After(delay):
|
||||
// proceed to results
|
||||
}
|
||||
|
@ -1146,10 +1145,10 @@ func (fake *TabletManagerClient) StopReplicationAndGetStatus(ctx context.Context
|
|||
}
|
||||
|
||||
if result, ok := fake.StopReplicationAndGetStatusResults[key]; ok {
|
||||
return result.Status, result.StopStatus, result.Error
|
||||
return result.StopStatus, result.Error
|
||||
}
|
||||
|
||||
return nil, nil, assert.AnError
|
||||
return nil, assert.AnError
|
||||
}
|
||||
|
||||
// WaitForPosition is part of the tmclient.TabletManagerClient interface.
|
||||
|
|
|
@ -156,7 +156,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -274,7 +273,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -420,7 +418,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000102": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -547,7 +544,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -646,7 +642,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
emergencyReparentOps: EmergencyReparentOptions{},
|
||||
tmc: &testutil.TabletManagerClient{
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -706,7 +701,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
emergencyReparentOps: EmergencyReparentOptions{},
|
||||
tmc: &testutil.TabletManagerClient{
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -766,7 +760,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
emergencyReparentOps: EmergencyReparentOptions{},
|
||||
tmc: &testutil.TabletManagerClient{
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -861,7 +854,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
},
|
||||
tmc: &testutil.TabletManagerClient{
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -957,7 +949,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
}},
|
||||
tmc: &testutil.TabletManagerClient{
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -1080,7 +1071,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
},
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -1194,7 +1184,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000102": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -1318,7 +1307,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -1439,7 +1427,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -1555,7 +1542,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -1689,7 +1675,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -1822,7 +1807,6 @@ func TestEmergencyReparenter_reparentShardLocked(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
@ -2779,7 +2763,6 @@ func TestEmergencyReparenterCounters(t *testing.T) {
|
|||
"zone1-0000000101": nil,
|
||||
},
|
||||
StopReplicationAndGetStatusResults: map[string]struct {
|
||||
Status *replicationdatapb.Status
|
||||
StopStatus *replicationdatapb.StopReplicationStatus
|
||||
Error error
|
||||
}{
|
||||
|
|
|
@ -248,7 +248,7 @@ func stopReplicationAndBuildStatusMaps(
|
|||
|
||||
logger.Infof("getting replication position from %v", alias)
|
||||
|
||||
_, stopReplicationStatus, err := tmc.StopReplicationAndGetStatus(groupCtx, tabletInfo.Tablet, replicationdatapb.StopReplicationMode_IOTHREADONLY)
|
||||
stopReplicationStatus, err := tmc.StopReplicationAndGetStatus(groupCtx, tabletInfo.Tablet, replicationdatapb.StopReplicationMode_IOTHREADONLY)
|
||||
if err != nil {
|
||||
sqlErr, isSQLErr := mysql.NewSQLErrorFromError(err).(*mysql.SQLError)
|
||||
if isSQLErr && sqlErr != nil && sqlErr.Number() == mysql.ERNotReplica {
|
||||
|
|
|
@ -248,9 +248,9 @@ func (fake *stopReplicationAndBuildStatusMapsTestTMClient) DemotePrimary(ctx con
|
|||
return nil, assert.AnError
|
||||
}
|
||||
|
||||
func (fake *stopReplicationAndBuildStatusMapsTestTMClient) StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, mode replicationdatapb.StopReplicationMode) (*replicationdatapb.Status, *replicationdatapb.StopReplicationStatus, error) {
|
||||
func (fake *stopReplicationAndBuildStatusMapsTestTMClient) StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, mode replicationdatapb.StopReplicationMode) (*replicationdatapb.StopReplicationStatus, error) {
|
||||
if tablet.Alias == nil {
|
||||
return nil, nil, assert.AnError
|
||||
return nil, assert.AnError
|
||||
}
|
||||
|
||||
key := topoproto.TabletAliasString(tablet.Alias)
|
||||
|
@ -259,15 +259,15 @@ func (fake *stopReplicationAndBuildStatusMapsTestTMClient) StopReplicationAndGet
|
|||
select {
|
||||
case <-time.After(delay):
|
||||
case <-ctx.Done():
|
||||
return nil, nil, ctx.Err()
|
||||
return nil, ctx.Err()
|
||||
}
|
||||
}
|
||||
|
||||
if result, ok := fake.stopReplicationAndGetStatusResults[key]; ok {
|
||||
return /* unused by the code under test */ nil, result.StopStatus, result.Err
|
||||
return result.StopStatus, result.Err
|
||||
}
|
||||
|
||||
return nil, nil, assert.AnError
|
||||
return nil, assert.AnError
|
||||
}
|
||||
|
||||
func Test_stopReplicationAndBuildStatusMaps(t *testing.T) {
|
||||
|
|
|
@ -30,7 +30,6 @@ import (
|
|||
"vitess.io/vitess/go/vt/callerid"
|
||||
"vitess.io/vitess/go/vt/callinfo"
|
||||
"vitess.io/vitess/go/vt/servenv"
|
||||
"vitess.io/vitess/go/vt/topo/topoproto"
|
||||
"vitess.io/vitess/go/vt/vterrors"
|
||||
"vitess.io/vitess/go/vt/vtgate"
|
||||
"vitess.io/vitess/go/vt/vtgate/vtgateservice"
|
||||
|
@ -110,12 +109,6 @@ func (vtg *VTGate) Execute(ctx context.Context, request *vtgatepb.ExecuteRequest
|
|||
if session == nil {
|
||||
session = &vtgatepb.Session{Autocommit: true}
|
||||
}
|
||||
if session.TargetString == "" && request.TabletType != topodatapb.TabletType_UNKNOWN {
|
||||
session.TargetString = request.KeyspaceShard + "@" + topoproto.TabletTypeLString(request.TabletType)
|
||||
}
|
||||
if session.Options == nil {
|
||||
session.Options = request.Options
|
||||
}
|
||||
session, result, err := vtg.server.Execute(ctx, session, request.Query.Sql, request.Query.BindVariables)
|
||||
return &vtgatepb.ExecuteResponse{
|
||||
Result: sqltypes.ResultToProto3(result),
|
||||
|
@ -139,12 +132,6 @@ func (vtg *VTGate) ExecuteBatch(ctx context.Context, request *vtgatepb.ExecuteBa
|
|||
if session == nil {
|
||||
session = &vtgatepb.Session{Autocommit: true}
|
||||
}
|
||||
if session.TargetString == "" {
|
||||
session.TargetString = request.KeyspaceShard + "@" + topoproto.TabletTypeLString(request.TabletType)
|
||||
}
|
||||
if session.Options == nil {
|
||||
session.Options = request.Options
|
||||
}
|
||||
session, results, err := vtg.server.ExecuteBatch(ctx, session, sqlQueries, bindVars)
|
||||
return &vtgatepb.ExecuteBatchResponse{
|
||||
Results: sqltypes.QueryResponsesToProto3(results),
|
||||
|
@ -164,13 +151,6 @@ func (vtg *VTGate) StreamExecute(request *vtgatepb.StreamExecuteRequest, stream
|
|||
session = &vtgatepb.Session{Autocommit: true}
|
||||
}
|
||||
|
||||
// Do not set target if the tablet_type is not set correctly.
|
||||
if session.TargetString == "" && request.TabletType != topodatapb.TabletType_UNKNOWN {
|
||||
session.TargetString = request.KeyspaceShard + "@" + topoproto.TabletTypeLString(request.TabletType)
|
||||
}
|
||||
if session.Options == nil {
|
||||
session.Options = request.Options
|
||||
}
|
||||
vtgErr := vtg.server.StreamExecute(ctx, session, request.Query.Sql, request.Query.BindVariables, func(value *sqltypes.Result) error {
|
||||
// Send is not safe to call concurrently, but vtgate
|
||||
// guarantees that it's not.
|
||||
|
|
|
@ -305,8 +305,8 @@ func (client *FakeTabletManagerClient) SetReplicationSource(ctx context.Context,
|
|||
}
|
||||
|
||||
// StopReplicationAndGetStatus is part of the tmclient.TabletManagerClient interface.
|
||||
func (client *FakeTabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, stopReplicationMode replicationdatapb.StopReplicationMode) (*replicationdatapb.Status, *replicationdatapb.StopReplicationStatus, error) {
|
||||
return &replicationdatapb.Status{}, &replicationdatapb.StopReplicationStatus{}, nil
|
||||
func (client *FakeTabletManagerClient) StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, stopReplicationMode replicationdatapb.StopReplicationMode) (*replicationdatapb.StopReplicationStatus, error) {
|
||||
return &replicationdatapb.StopReplicationStatus{}, nil
|
||||
}
|
||||
|
||||
// PromoteReplica is part of the tmclient.TabletManagerClient interface.
|
||||
|
|
|
@ -782,15 +782,7 @@ func (client *Client) DemotePrimary(ctx context.Context, tablet *topodatapb.Tabl
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
status := response.PrimaryStatus
|
||||
if status == nil {
|
||||
// We are assuming this means a response came from an older server.
|
||||
status = &replicationdatapb.PrimaryStatus{
|
||||
Position: response.DeprecatedPosition, //nolint
|
||||
FilePosition: "",
|
||||
}
|
||||
}
|
||||
return status, nil
|
||||
return response.PrimaryStatus, nil
|
||||
}
|
||||
|
||||
// UndoDemotePrimary is part of the tmclient.TabletManagerClient interface.
|
||||
|
@ -859,19 +851,19 @@ func (client *Client) ReplicaWasRestarted(ctx context.Context, tablet *topodatap
|
|||
}
|
||||
|
||||
// StopReplicationAndGetStatus is part of the tmclient.TabletManagerClient interface.
|
||||
func (client *Client) StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, stopReplicationMode replicationdatapb.StopReplicationMode) (hybridStatus *replicationdatapb.Status, status *replicationdatapb.StopReplicationStatus, err error) {
|
||||
func (client *Client) StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, stopReplicationMode replicationdatapb.StopReplicationMode) (status *replicationdatapb.StopReplicationStatus, err error) {
|
||||
c, closer, err := client.dialer.dial(ctx, tablet)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
return nil, err
|
||||
}
|
||||
defer closer.Close()
|
||||
response, err := c.StopReplicationAndGetStatus(ctx, &tabletmanagerdatapb.StopReplicationAndGetStatusRequest{
|
||||
StopReplicationMode: stopReplicationMode,
|
||||
})
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
return nil, err
|
||||
}
|
||||
return response.HybridStatus, &replicationdatapb.StopReplicationStatus{ //nolint
|
||||
return &replicationdatapb.StopReplicationStatus{ //nolint
|
||||
Before: response.Status.Before,
|
||||
After: response.Status.After,
|
||||
}, nil
|
||||
|
|
|
@ -416,7 +416,6 @@ func (s *server) DemotePrimary(ctx context.Context, request *tabletmanagerdatapb
|
|||
response = &tabletmanagerdatapb.DemotePrimaryResponse{}
|
||||
status, err := s.tm.DemotePrimary(ctx)
|
||||
if err == nil {
|
||||
response.DeprecatedPosition = status.Position //nolint
|
||||
response.PrimaryStatus = status
|
||||
}
|
||||
return response, err
|
||||
|
@ -464,9 +463,7 @@ func (s *server) StopReplicationAndGetStatus(ctx context.Context, request *table
|
|||
response = &tabletmanagerdatapb.StopReplicationAndGetStatusResponse{}
|
||||
statusResponse, err := s.tm.StopReplicationAndGetStatus(ctx, request.StopReplicationMode)
|
||||
if err == nil {
|
||||
response.HybridStatus = statusResponse.HybridStatus //nolint
|
||||
response.Status = statusResponse.Status
|
||||
|
||||
}
|
||||
return response, err
|
||||
}
|
||||
|
|
|
@ -849,7 +849,6 @@ func (tm *TabletManager) StopReplicationAndGetStatus(ctx context.Context, stopRe
|
|||
if stopReplicationMode == replicationdatapb.StopReplicationMode_IOTHREADONLY {
|
||||
if !rs.IOHealthy() {
|
||||
return StopReplicationAndGetStatusResponse{
|
||||
HybridStatus: before,
|
||||
Status: &replicationdatapb.StopReplicationStatus{
|
||||
Before: before,
|
||||
After: before,
|
||||
|
@ -867,7 +866,6 @@ func (tm *TabletManager) StopReplicationAndGetStatus(ctx context.Context, stopRe
|
|||
if !rs.Healthy() {
|
||||
// no replication is running, just return what we got
|
||||
return StopReplicationAndGetStatusResponse{
|
||||
HybridStatus: before,
|
||||
Status: &replicationdatapb.StopReplicationStatus{
|
||||
Before: before,
|
||||
After: before,
|
||||
|
@ -900,7 +898,6 @@ func (tm *TabletManager) StopReplicationAndGetStatus(ctx context.Context, stopRe
|
|||
rs.RelayLogSourceBinlogEquivalentPosition = rsAfter.RelayLogSourceBinlogEquivalentPosition
|
||||
|
||||
return StopReplicationAndGetStatusResponse{
|
||||
HybridStatus: mysql.ReplicationStatusToProto(rs),
|
||||
Status: &replicationdatapb.StopReplicationStatus{
|
||||
Before: before,
|
||||
After: after,
|
||||
|
@ -911,11 +908,6 @@ func (tm *TabletManager) StopReplicationAndGetStatus(ctx context.Context, stopRe
|
|||
// StopReplicationAndGetStatusResponse holds the original hybrid Status struct, as well as a new Status field, which
|
||||
// hold the result of show replica status called before stopping replication, and after stopping replication.
|
||||
type StopReplicationAndGetStatusResponse struct {
|
||||
// HybridStatus is deprecated. It currently represents a hybrid struct where all data represents the before state,
|
||||
// except for all position related data which comes from the after state. Please use status instead, which holds
|
||||
// discrete replication status calls before and after stopping the replica, or stopping the replica's io_thread.
|
||||
HybridStatus *replicationdatapb.Status
|
||||
|
||||
// Status represents the replication status call right before, and right after telling the replica to stop.
|
||||
Status *replicationdatapb.StopReplicationStatus
|
||||
}
|
||||
|
|
|
@ -58,16 +58,6 @@ var (
|
|||
// StatsLogger is the main stream logger object
|
||||
StatsLogger = streamlog.New("TabletServer", 50)
|
||||
|
||||
// Placeholder for deprecated variable.
|
||||
// TODO(sougou): deprecate the flags after release 7.0.
|
||||
deprecatedMessagePoolPrefillParallelism int
|
||||
deprecatedAutocommit bool
|
||||
deprecateAllowUnsafeDMLs bool
|
||||
deprecatedMessagePoolSize int
|
||||
deprecatedPoolNamePrefix string
|
||||
deprecatedMaxDMLRows int
|
||||
deprecatedFoundRowsPoolSize int
|
||||
|
||||
// The following vars are used for custom initialization of Tabletconfig.
|
||||
enableHotRowProtection bool
|
||||
enableHotRowProtectionDryRun bool
|
||||
|
@ -88,20 +78,14 @@ func init() {
|
|||
flag.IntVar(¤tConfig.OltpReadPool.PrefillParallelism, "queryserver-config-pool-prefill-parallelism", defaultConfig.OltpReadPool.PrefillParallelism, "query server read pool prefill parallelism, a non-zero value will prefill the pool using the specified parallism.")
|
||||
flag.IntVar(¤tConfig.OlapReadPool.Size, "queryserver-config-stream-pool-size", defaultConfig.OlapReadPool.Size, "query server stream connection pool size, stream pool is used by stream queries: queries that return results to client in a streaming fashion")
|
||||
flag.IntVar(¤tConfig.OlapReadPool.PrefillParallelism, "queryserver-config-stream-pool-prefill-parallelism", defaultConfig.OlapReadPool.PrefillParallelism, "query server stream pool prefill parallelism, a non-zero value will prefill the pool using the specified parallelism")
|
||||
flag.IntVar(&deprecatedMessagePoolSize, "queryserver-config-message-conn-pool-size", 0, "DEPRECATED")
|
||||
flag.IntVar(&deprecatedMessagePoolPrefillParallelism, "queryserver-config-message-conn-pool-prefill-parallelism", 0, "DEPRECATED: Unused.")
|
||||
flag.IntVar(¤tConfig.TxPool.Size, "queryserver-config-transaction-cap", defaultConfig.TxPool.Size, "query server transaction cap is the maximum number of transactions allowed to happen at any given point of a time for a single vttablet. E.g. by setting transaction cap to 100, there are at most 100 transactions will be processed by a vttablet and the 101th transaction will be blocked (and fail if it cannot get connection within specified timeout)")
|
||||
flag.IntVar(¤tConfig.TxPool.PrefillParallelism, "queryserver-config-transaction-prefill-parallelism", defaultConfig.TxPool.PrefillParallelism, "query server transaction prefill parallelism, a non-zero value will prefill the pool using the specified parallism.")
|
||||
flag.IntVar(¤tConfig.MessagePostponeParallelism, "queryserver-config-message-postpone-cap", defaultConfig.MessagePostponeParallelism, "query server message postpone cap is the maximum number of messages that can be postponed at any given time. Set this number to substantially lower than transaction cap, so that the transaction pool isn't exhausted by the message subsystem.")
|
||||
flag.IntVar(&deprecatedFoundRowsPoolSize, "client-found-rows-pool-size", 0, "DEPRECATED: queryserver-config-transaction-cap will be used instead.")
|
||||
SecondsVar(¤tConfig.Oltp.TxTimeoutSeconds, "queryserver-config-transaction-timeout", defaultConfig.Oltp.TxTimeoutSeconds, "query server transaction timeout (in seconds), a transaction will be killed if it takes longer than this value")
|
||||
SecondsVar(¤tConfig.GracePeriods.ShutdownSeconds, "shutdown_grace_period", defaultConfig.GracePeriods.ShutdownSeconds, "how long to wait (in seconds) for queries and transactions to complete during graceful shutdown.")
|
||||
SecondsVar(¤tConfig.GracePeriods.ShutdownSeconds, "transaction_shutdown_grace_period", defaultConfig.GracePeriods.ShutdownSeconds, "DEPRECATED: use shutdown_grace_period instead.")
|
||||
flag.IntVar(¤tConfig.Oltp.MaxRows, "queryserver-config-max-result-size", defaultConfig.Oltp.MaxRows, "query server max result size, maximum number of rows allowed to return from vttablet for non-streaming queries.")
|
||||
flag.IntVar(¤tConfig.Oltp.WarnRows, "queryserver-config-warn-result-size", defaultConfig.Oltp.WarnRows, "query server result size warning threshold, warn if number of rows returned from vttablet for non-streaming queries exceeds this")
|
||||
flag.IntVar(&deprecatedMaxDMLRows, "queryserver-config-max-dml-rows", 0, "query server max dml rows per statement, maximum number of rows allowed to return at a time for an update or delete with either 1) an equality where clauses on primary keys, or 2) a subselect statement. For update and delete statements in above two categories, vttablet will split the original query into multiple small queries based on this configuration value. ")
|
||||
flag.BoolVar(¤tConfig.PassthroughDML, "queryserver-config-passthrough-dmls", defaultConfig.PassthroughDML, "query server pass through all dml statements without rewriting")
|
||||
flag.BoolVar(&deprecateAllowUnsafeDMLs, "queryserver-config-allowunsafe-dmls", false, "deprecated")
|
||||
|
||||
flag.IntVar(¤tConfig.StreamBufferSize, "queryserver-config-stream-buffer-size", defaultConfig.StreamBufferSize, "query server stream buffer size, the maximum number of bytes sent from vttablet for each stream call. It's recommended to keep this value in sync with vtgate's stream_buffer_size.")
|
||||
flag.IntVar(¤tConfig.QueryCacheSize, "queryserver-config-query-cache-size", defaultConfig.QueryCacheSize, "query server query cache size, maximum number of queries to be cached. vttablet analyzes every incoming query and generate a query plan, these plans are being cached in a lru cache. This config controls the capacity of the lru cache.")
|
||||
|
@ -124,10 +108,8 @@ func init() {
|
|||
flag.StringVar(¤tConfig.TableACLExemptACL, "queryserver-config-acl-exempt-acl", defaultConfig.TableACLExemptACL, "an acl that exempt from table acl checking (this acl is free to access any vitess tables).")
|
||||
flag.BoolVar(¤tConfig.TerseErrors, "queryserver-config-terse-errors", defaultConfig.TerseErrors, "prevent bind vars from escaping in client error messages")
|
||||
flag.BoolVar(¤tConfig.AnnotateQueries, "queryserver-config-annotate-queries", defaultConfig.AnnotateQueries, "prefix queries to MySQL backend with comment indicating vtgate principal (user) and target tablet type")
|
||||
flag.StringVar(&deprecatedPoolNamePrefix, "pool-name-prefix", "", "Deprecated")
|
||||
flag.BoolVar(¤tConfig.WatchReplication, "watch_replication_stream", false, "When enabled, vttablet will stream the MySQL replication stream from the local server, and use it to update schema when it sees a DDL.")
|
||||
flag.BoolVar(¤tConfig.TrackSchemaVersions, "track_schema_versions", false, "When enabled, vttablet will store versions of schemas at each position that a DDL is applied and allow retrieval of the schema corresponding to a position")
|
||||
flag.BoolVar(&deprecatedAutocommit, "enable-autocommit", true, "This flag is deprecated. Autocommit is always allowed.")
|
||||
flag.BoolVar(¤tConfig.TwoPCEnable, "twopc_enable", defaultConfig.TwoPCEnable, "if the flag is on, 2pc is enabled. Other 2pc flags must be supplied.")
|
||||
flag.StringVar(¤tConfig.TwoPCCoordinatorAddress, "twopc_coordinator_address", defaultConfig.TwoPCCoordinatorAddress, "address of the (VTGate) process(es) that will be used to notify of abandoned transactions.")
|
||||
SecondsVar(¤tConfig.TwoPCAbandonAge, "twopc_abandon_age", defaultConfig.TwoPCAbandonAge, "time in seconds. Any unresolved transaction older than this time will be sent to the coordinator to be resolved.")
|
||||
|
@ -257,7 +239,6 @@ type TabletConfig struct {
|
|||
ReplicationTracker ReplicationTrackerConfig `json:"replicationTracker,omitempty"`
|
||||
|
||||
// Consolidator can be enable, disable, or notOnPrimary. Default is enable.
|
||||
// notOnMaster is the deprecated value that is the same as notOnPrimary.
|
||||
Consolidator string `json:"consolidator,omitempty"`
|
||||
PassthroughDML bool `json:"passthroughDML,omitempty"`
|
||||
StreamBufferSize int `json:"streamBufferSize,omitempty"`
|
||||
|
|
|
@ -196,7 +196,7 @@ type TabletManagerClient interface {
|
|||
|
||||
// StopReplicationAndGetStatus stops replication and returns the
|
||||
// current position.
|
||||
StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, stopReplicationMode replicationdatapb.StopReplicationMode) (*replicationdatapb.Status, *replicationdatapb.StopReplicationStatus, error)
|
||||
StopReplicationAndGetStatus(ctx context.Context, tablet *topodatapb.Tablet, stopReplicationMode replicationdatapb.StopReplicationMode) (*replicationdatapb.StopReplicationStatus, error)
|
||||
|
||||
// PromoteReplica makes the tablet the new primary
|
||||
PromoteReplica(ctx context.Context, tablet *topodatapb.Tablet, semiSync bool) (string, error)
|
||||
|
|
|
@ -1121,7 +1121,6 @@ func (fra *fakeRPCTM) StopReplicationAndGetStatus(ctx context.Context, stopRepli
|
|||
panic(fmt.Errorf("test-triggered panic"))
|
||||
}
|
||||
return tabletmanager.StopReplicationAndGetStatusResponse{
|
||||
HybridStatus: testReplicationStatus,
|
||||
Status: &replicationdatapb.StopReplicationStatus{
|
||||
Before: testReplicationStatus,
|
||||
After: testReplicationStatus,
|
||||
|
@ -1155,14 +1154,14 @@ func tmRPCTestReplicaWasRestartedPanic(ctx context.Context, t *testing.T, client
|
|||
}
|
||||
|
||||
func tmRPCTestStopReplicationAndGetStatus(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
|
||||
rp, _, err := client.StopReplicationAndGetStatus(ctx, tablet, replicationdatapb.StopReplicationMode_IOANDSQLTHREAD)
|
||||
rp, err := client.StopReplicationAndGetStatus(ctx, tablet, replicationdatapb.StopReplicationMode_IOANDSQLTHREAD)
|
||||
compareError(t, "StopReplicationAndGetStatus", err, rp, testReplicationStatus)
|
||||
rp, _, err = client.StopReplicationAndGetStatus(ctx, tablet, replicationdatapb.StopReplicationMode_IOTHREADONLY)
|
||||
rp, err = client.StopReplicationAndGetStatus(ctx, tablet, replicationdatapb.StopReplicationMode_IOTHREADONLY)
|
||||
compareError(t, "StopReplicationAndGetStatus", err, rp, testReplicationStatus)
|
||||
}
|
||||
|
||||
func tmRPCTestStopReplicationAndGetStatusPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) {
|
||||
_, _, err := client.StopReplicationAndGetStatus(ctx, tablet, replicationdatapb.StopReplicationMode_IOANDSQLTHREAD)
|
||||
_, err := client.StopReplicationAndGetStatus(ctx, tablet, replicationdatapb.StopReplicationMode_IOANDSQLTHREAD)
|
||||
expectHandleRPCPanic(t, "StopReplicationAndGetStatus", true /*verbose*/, err)
|
||||
}
|
||||
|
||||
|
|
|
@ -94,31 +94,6 @@ public final class VTGateBlockingConnection implements Closeable {
|
|||
return vtGateConnection.executeBatch(ctx, queryList, bindVarsList, vtSession).checkedGet();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method calls the VTGate to execute list of queries as a batch.
|
||||
* <p>
|
||||
* <p>If asTransaction is set to <code>true</code> then query execution will not change the
|
||||
* session cookie.
|
||||
* Otherwise, query execution will become part of the session.</p>
|
||||
*
|
||||
* @param ctx Context on user and execution deadline if any.
|
||||
* @param queryList List of sql queries to be executed.
|
||||
* @param bindVarsList <p>For each sql query it will provide a list of parameters to bind with. If
|
||||
* provided, should match the number of sql queries.</p>
|
||||
* @param asTransaction To execute query without impacting session cookie.
|
||||
* @param vtSession Session to be used with the call.
|
||||
* @return List of Cursors
|
||||
* @throws SQLException If anything fails on query execution.
|
||||
*/
|
||||
public List<CursorWithError> executeBatch(Context ctx,
|
||||
List<String> queryList,
|
||||
@Nullable List<Map<String, ?>> bindVarsList,
|
||||
boolean asTransaction,
|
||||
final VTSession vtSession) throws SQLException {
|
||||
return vtGateConnection.executeBatch(ctx, queryList, bindVarsList, asTransaction, vtSession)
|
||||
.checkedGet();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method should be used execute select query to return response as a stream.
|
||||
*
|
||||
|
|
|
@ -112,39 +112,20 @@ public class VTGateConnection implements Closeable {
|
|||
return call;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method calls the VTGate to execute list of queries as a batch.
|
||||
*
|
||||
* @param ctx Context on user and execution deadline if any.
|
||||
* @param queryList List of sql queries to be executed.
|
||||
* @param bindVarsList <p>For each sql query it will provide a list of parameters to bind with. If
|
||||
* provided, should match the number of sql queries.</p>
|
||||
* @param vtSession Session to be used with the call.
|
||||
* @return SQL Future with List of Cursors
|
||||
* @throws SQLException If anything fails on query execution.
|
||||
*/
|
||||
public SQLFuture<List<CursorWithError>> executeBatch(Context ctx, List<String> queryList,
|
||||
@Nullable List<Map<String, ?>> bindVarsList, final VTSession vtSession) throws SQLException {
|
||||
return executeBatch(ctx, queryList, bindVarsList, false, vtSession);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method calls the VTGate to execute list of queries as a batch.
|
||||
* <p>
|
||||
* <p>If asTransaction is set to <code>true</code> then query execution will not change the
|
||||
* session cookie. Otherwise, query execution will become part of the session.</p>
|
||||
*
|
||||
* @param ctx Context on user and execution deadline if any.
|
||||
* @param queryList List of sql queries to be executed.
|
||||
* @param bindVarsList <p>For each sql query it will provide a list of parameters to bind with. If
|
||||
* provided, should match the number of sql queries.</p>
|
||||
* @param asTransaction To execute query without impacting session cookie.
|
||||
* @param vtSession Session to be used with the call.
|
||||
* @return SQL Future with List of Cursors
|
||||
* @throws SQLException If anything fails on query execution.
|
||||
*/
|
||||
public SQLFuture<List<CursorWithError>> executeBatch(Context ctx, List<String> queryList,
|
||||
@Nullable List<Map<String, ?>> bindVarsList, boolean asTransaction, final VTSession vtSession)
|
||||
@Nullable List<Map<String, ?>> bindVarsList, final VTSession vtSession)
|
||||
throws SQLException {
|
||||
vtSession.checkCallIsAllowed("executeBatch");
|
||||
List<Query.BoundQuery> queries = new ArrayList<>();
|
||||
|
@ -162,8 +143,7 @@ public class VTGateConnection implements Closeable {
|
|||
Vtgate.ExecuteBatchRequest.Builder requestBuilder =
|
||||
Vtgate.ExecuteBatchRequest.newBuilder()
|
||||
.addAllQueries(checkNotNull(queries))
|
||||
.setSession(vtSession.getSession())
|
||||
.setAsTransaction(asTransaction);
|
||||
.setSession(vtSession.getSession());
|
||||
|
||||
if (ctx.getCallerId() != null) {
|
||||
requestBuilder.setCallerId(ctx.getCallerId());
|
||||
|
|
|
@ -394,7 +394,8 @@ message DemotePrimaryRequest {
|
|||
|
||||
message DemotePrimaryResponse {
|
||||
// Position is deprecated, and is a string representation of a demoted primaries executed position.
|
||||
string deprecated_position = 1 [deprecated = true];
|
||||
//string deprecated_position = 1 [deprecated = true];
|
||||
reserved 1;
|
||||
|
||||
// PrimaryStatus represents the response from calling `SHOW MASTER STATUS` on a primary that has been demoted.
|
||||
replicationdata.PrimaryStatus primary_status = 2;
|
||||
|
@ -453,7 +454,8 @@ message StopReplicationAndGetStatusResponse {
|
|||
// HybridStatus is deprecated. It currently represents a hybrid struct where all data represents the before state,
|
||||
// except for all position related data which comes from the after state. Please use status instead, which holds
|
||||
// discrete replication status calls before and after stopping the replica, or stopping the replica's io_thread.
|
||||
replicationdata.Status hybrid_status = 1 [deprecated = true];
|
||||
//replicationdata.Status hybrid_status = 1 [deprecated = true];
|
||||
reserved 1;
|
||||
|
||||
// Status represents the replication status call right before, and right after telling the replica to stop.
|
||||
replicationdata.StopReplicationStatus status = 2;
|
||||
|
|
|
@ -161,9 +161,6 @@ message ReadAfterWrite {
|
|||
|
||||
// ExecuteRequest is the payload to Execute.
|
||||
message ExecuteRequest {
|
||||
// Deprecated:
|
||||
// bool not_in_transaction = 5;
|
||||
reserved 5;
|
||||
// caller_id identifies the caller. This is the effective caller ID,
|
||||
// set by the application to further identify the caller.
|
||||
vtrpc.CallerID caller_id = 1;
|
||||
|
@ -175,10 +172,12 @@ message ExecuteRequest {
|
|||
query.BoundQuery query = 3;
|
||||
|
||||
// These values are deprecated. Use session instead.
|
||||
// TODO(sougou): remove in 3.1
|
||||
topodata.TabletType tablet_type = 4;
|
||||
string keyspace_shard = 6;
|
||||
query.ExecuteOptions options = 7;
|
||||
// topodata.TabletType tablet_type = 4;
|
||||
// string keyspace_shard = 6;
|
||||
// query.ExecuteOptions options = 7;
|
||||
// Deprecated: use session.in_transaction instead
|
||||
// bool not_in_transaction = 5;
|
||||
reserved 4, 5, 6, 7;
|
||||
}
|
||||
|
||||
// ExecuteResponse is the returned value from Execute.
|
||||
|
@ -208,11 +207,12 @@ message ExecuteBatchRequest {
|
|||
repeated query.BoundQuery queries = 3;
|
||||
|
||||
// These values are deprecated. Use session instead.
|
||||
// TODO(sougou): remove in 3.1
|
||||
topodata.TabletType tablet_type = 4;
|
||||
bool as_transaction = 5;
|
||||
string keyspace_shard = 6;
|
||||
query.ExecuteOptions options = 7;
|
||||
// topodata.TabletType tablet_type = 4;
|
||||
// bool as_transaction = 5;
|
||||
// string keyspace_shard = 6;
|
||||
// query.ExecuteOptions options = 7;
|
||||
reserved 4, 5, 6, 7;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -240,10 +240,10 @@ message StreamExecuteRequest {
|
|||
query.BoundQuery query = 2;
|
||||
|
||||
// These values are deprecated. Use session instead.
|
||||
// TODO(sougou): remove in 3.1
|
||||
topodata.TabletType tablet_type = 3;
|
||||
string keyspace_shard = 4;
|
||||
query.ExecuteOptions options = 5;
|
||||
// topodata.TabletType tablet_type = 3;
|
||||
// string keyspace_shard = 4;
|
||||
// query.ExecuteOptions options = 5;
|
||||
reserved 3,4,5;
|
||||
|
||||
// session carries the session state.
|
||||
Session session = 6;
|
||||
|
|
|
@ -20198,9 +20198,6 @@ export namespace tabletmanagerdata {
|
|||
/** Properties of a DemotePrimaryResponse. */
|
||||
interface IDemotePrimaryResponse {
|
||||
|
||||
/** DemotePrimaryResponse deprecated_position */
|
||||
deprecated_position?: (string|null);
|
||||
|
||||
/** DemotePrimaryResponse primary_status */
|
||||
primary_status?: (replicationdata.IPrimaryStatus|null);
|
||||
}
|
||||
|
@ -20214,9 +20211,6 @@ export namespace tabletmanagerdata {
|
|||
*/
|
||||
constructor(properties?: tabletmanagerdata.IDemotePrimaryResponse);
|
||||
|
||||
/** DemotePrimaryResponse deprecated_position. */
|
||||
public deprecated_position: string;
|
||||
|
||||
/** DemotePrimaryResponse primary_status. */
|
||||
public primary_status?: (replicationdata.IPrimaryStatus|null);
|
||||
|
||||
|
@ -21440,9 +21434,6 @@ export namespace tabletmanagerdata {
|
|||
/** Properties of a StopReplicationAndGetStatusResponse. */
|
||||
interface IStopReplicationAndGetStatusResponse {
|
||||
|
||||
/** StopReplicationAndGetStatusResponse hybrid_status */
|
||||
hybrid_status?: (replicationdata.IStatus|null);
|
||||
|
||||
/** StopReplicationAndGetStatusResponse status */
|
||||
status?: (replicationdata.IStopReplicationStatus|null);
|
||||
}
|
||||
|
@ -21456,9 +21447,6 @@ export namespace tabletmanagerdata {
|
|||
*/
|
||||
constructor(properties?: tabletmanagerdata.IStopReplicationAndGetStatusResponse);
|
||||
|
||||
/** StopReplicationAndGetStatusResponse hybrid_status. */
|
||||
public hybrid_status?: (replicationdata.IStatus|null);
|
||||
|
||||
/** StopReplicationAndGetStatusResponse status. */
|
||||
public status?: (replicationdata.IStopReplicationStatus|null);
|
||||
|
||||
|
|
|
@ -46293,7 +46293,6 @@ $root.tabletmanagerdata = (function() {
|
|||
* Properties of a DemotePrimaryResponse.
|
||||
* @memberof tabletmanagerdata
|
||||
* @interface IDemotePrimaryResponse
|
||||
* @property {string|null} [deprecated_position] DemotePrimaryResponse deprecated_position
|
||||
* @property {replicationdata.IPrimaryStatus|null} [primary_status] DemotePrimaryResponse primary_status
|
||||
*/
|
||||
|
||||
|
@ -46312,14 +46311,6 @@ $root.tabletmanagerdata = (function() {
|
|||
this[keys[i]] = properties[keys[i]];
|
||||
}
|
||||
|
||||
/**
|
||||
* DemotePrimaryResponse deprecated_position.
|
||||
* @member {string} deprecated_position
|
||||
* @memberof tabletmanagerdata.DemotePrimaryResponse
|
||||
* @instance
|
||||
*/
|
||||
DemotePrimaryResponse.prototype.deprecated_position = "";
|
||||
|
||||
/**
|
||||
* DemotePrimaryResponse primary_status.
|
||||
* @member {replicationdata.IPrimaryStatus|null|undefined} primary_status
|
||||
|
@ -46352,8 +46343,6 @@ $root.tabletmanagerdata = (function() {
|
|||
DemotePrimaryResponse.encode = function encode(message, writer) {
|
||||
if (!writer)
|
||||
writer = $Writer.create();
|
||||
if (message.deprecated_position != null && Object.hasOwnProperty.call(message, "deprecated_position"))
|
||||
writer.uint32(/* id 1, wireType 2 =*/10).string(message.deprecated_position);
|
||||
if (message.primary_status != null && Object.hasOwnProperty.call(message, "primary_status"))
|
||||
$root.replicationdata.PrimaryStatus.encode(message.primary_status, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
||||
return writer;
|
||||
|
@ -46390,9 +46379,6 @@ $root.tabletmanagerdata = (function() {
|
|||
while (reader.pos < end) {
|
||||
var tag = reader.uint32();
|
||||
switch (tag >>> 3) {
|
||||
case 1:
|
||||
message.deprecated_position = reader.string();
|
||||
break;
|
||||
case 2:
|
||||
message.primary_status = $root.replicationdata.PrimaryStatus.decode(reader, reader.uint32());
|
||||
break;
|
||||
|
@ -46431,9 +46417,6 @@ $root.tabletmanagerdata = (function() {
|
|||
DemotePrimaryResponse.verify = function verify(message) {
|
||||
if (typeof message !== "object" || message === null)
|
||||
return "object expected";
|
||||
if (message.deprecated_position != null && message.hasOwnProperty("deprecated_position"))
|
||||
if (!$util.isString(message.deprecated_position))
|
||||
return "deprecated_position: string expected";
|
||||
if (message.primary_status != null && message.hasOwnProperty("primary_status")) {
|
||||
var error = $root.replicationdata.PrimaryStatus.verify(message.primary_status);
|
||||
if (error)
|
||||
|
@ -46454,8 +46437,6 @@ $root.tabletmanagerdata = (function() {
|
|||
if (object instanceof $root.tabletmanagerdata.DemotePrimaryResponse)
|
||||
return object;
|
||||
var message = new $root.tabletmanagerdata.DemotePrimaryResponse();
|
||||
if (object.deprecated_position != null)
|
||||
message.deprecated_position = String(object.deprecated_position);
|
||||
if (object.primary_status != null) {
|
||||
if (typeof object.primary_status !== "object")
|
||||
throw TypeError(".tabletmanagerdata.DemotePrimaryResponse.primary_status: object expected");
|
||||
|
@ -46477,12 +46458,8 @@ $root.tabletmanagerdata = (function() {
|
|||
if (!options)
|
||||
options = {};
|
||||
var object = {};
|
||||
if (options.defaults) {
|
||||
object.deprecated_position = "";
|
||||
if (options.defaults)
|
||||
object.primary_status = null;
|
||||
}
|
||||
if (message.deprecated_position != null && message.hasOwnProperty("deprecated_position"))
|
||||
object.deprecated_position = message.deprecated_position;
|
||||
if (message.primary_status != null && message.hasOwnProperty("primary_status"))
|
||||
object.primary_status = $root.replicationdata.PrimaryStatus.toObject(message.primary_status, options);
|
||||
return object;
|
||||
|
@ -48854,7 +48831,6 @@ $root.tabletmanagerdata = (function() {
|
|||
* Properties of a StopReplicationAndGetStatusResponse.
|
||||
* @memberof tabletmanagerdata
|
||||
* @interface IStopReplicationAndGetStatusResponse
|
||||
* @property {replicationdata.IStatus|null} [hybrid_status] StopReplicationAndGetStatusResponse hybrid_status
|
||||
* @property {replicationdata.IStopReplicationStatus|null} [status] StopReplicationAndGetStatusResponse status
|
||||
*/
|
||||
|
||||
|
@ -48873,14 +48849,6 @@ $root.tabletmanagerdata = (function() {
|
|||
this[keys[i]] = properties[keys[i]];
|
||||
}
|
||||
|
||||
/**
|
||||
* StopReplicationAndGetStatusResponse hybrid_status.
|
||||
* @member {replicationdata.IStatus|null|undefined} hybrid_status
|
||||
* @memberof tabletmanagerdata.StopReplicationAndGetStatusResponse
|
||||
* @instance
|
||||
*/
|
||||
StopReplicationAndGetStatusResponse.prototype.hybrid_status = null;
|
||||
|
||||
/**
|
||||
* StopReplicationAndGetStatusResponse status.
|
||||
* @member {replicationdata.IStopReplicationStatus|null|undefined} status
|
||||
|
@ -48913,8 +48881,6 @@ $root.tabletmanagerdata = (function() {
|
|||
StopReplicationAndGetStatusResponse.encode = function encode(message, writer) {
|
||||
if (!writer)
|
||||
writer = $Writer.create();
|
||||
if (message.hybrid_status != null && Object.hasOwnProperty.call(message, "hybrid_status"))
|
||||
$root.replicationdata.Status.encode(message.hybrid_status, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
||||
if (message.status != null && Object.hasOwnProperty.call(message, "status"))
|
||||
$root.replicationdata.StopReplicationStatus.encode(message.status, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
||||
return writer;
|
||||
|
@ -48951,9 +48917,6 @@ $root.tabletmanagerdata = (function() {
|
|||
while (reader.pos < end) {
|
||||
var tag = reader.uint32();
|
||||
switch (tag >>> 3) {
|
||||
case 1:
|
||||
message.hybrid_status = $root.replicationdata.Status.decode(reader, reader.uint32());
|
||||
break;
|
||||
case 2:
|
||||
message.status = $root.replicationdata.StopReplicationStatus.decode(reader, reader.uint32());
|
||||
break;
|
||||
|
@ -48992,11 +48955,6 @@ $root.tabletmanagerdata = (function() {
|
|||
StopReplicationAndGetStatusResponse.verify = function verify(message) {
|
||||
if (typeof message !== "object" || message === null)
|
||||
return "object expected";
|
||||
if (message.hybrid_status != null && message.hasOwnProperty("hybrid_status")) {
|
||||
var error = $root.replicationdata.Status.verify(message.hybrid_status);
|
||||
if (error)
|
||||
return "hybrid_status." + error;
|
||||
}
|
||||
if (message.status != null && message.hasOwnProperty("status")) {
|
||||
var error = $root.replicationdata.StopReplicationStatus.verify(message.status);
|
||||
if (error)
|
||||
|
@ -49017,11 +48975,6 @@ $root.tabletmanagerdata = (function() {
|
|||
if (object instanceof $root.tabletmanagerdata.StopReplicationAndGetStatusResponse)
|
||||
return object;
|
||||
var message = new $root.tabletmanagerdata.StopReplicationAndGetStatusResponse();
|
||||
if (object.hybrid_status != null) {
|
||||
if (typeof object.hybrid_status !== "object")
|
||||
throw TypeError(".tabletmanagerdata.StopReplicationAndGetStatusResponse.hybrid_status: object expected");
|
||||
message.hybrid_status = $root.replicationdata.Status.fromObject(object.hybrid_status);
|
||||
}
|
||||
if (object.status != null) {
|
||||
if (typeof object.status !== "object")
|
||||
throw TypeError(".tabletmanagerdata.StopReplicationAndGetStatusResponse.status: object expected");
|
||||
|
@ -49043,12 +48996,8 @@ $root.tabletmanagerdata = (function() {
|
|||
if (!options)
|
||||
options = {};
|
||||
var object = {};
|
||||
if (options.defaults) {
|
||||
object.hybrid_status = null;
|
||||
if (options.defaults)
|
||||
object.status = null;
|
||||
}
|
||||
if (message.hybrid_status != null && message.hasOwnProperty("hybrid_status"))
|
||||
object.hybrid_status = $root.replicationdata.Status.toObject(message.hybrid_status, options);
|
||||
if (message.status != null && message.hasOwnProperty("status"))
|
||||
object.status = $root.replicationdata.StopReplicationStatus.toObject(message.status, options);
|
||||
return object;
|
||||
|
|
Загрузка…
Ссылка в новой задаче