You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EmergencyReparentShard.Flags().DurationVar(&emergencyReparentShardOptions.WaitReplicasTimeout, "wait-replicas-timeout", *topo.RemoteOperationTimeout, "Time to wait for replicas to catch up in reparenting.")
280
+
EmergencyReparentShard.Flags().DurationVar(&emergencyReparentShardOptions.WaitReplicasTimeout, "wait-replicas-timeout", topo.RemoteOperationTimeout, "Time to wait for replicas to catch up in reparenting.")
281
281
EmergencyReparentShard.Flags().StringVar(&emergencyReparentShardOptions.NewPrimaryAliasStr, "new-primary", "", "Alias of a tablet that should be the new primary. If not specified, the vtctld will select the best candidate to promote.")
282
282
EmergencyReparentShard.Flags().BoolVar(&emergencyReparentShardOptions.PreventCrossCellPromotion, "prevent-cross-cell-promotion", false, "Only promotes a new primary from the same cell as the previous primary.")
283
283
EmergencyReparentShard.Flags().StringSliceVarP(&emergencyReparentShardOptions.IgnoreReplicaAliasStrList, "ignore-replicas", "i", nil, "Comma-separated, repeated list of replica tablet aliases to ignore during the emergency reparent.")
@@ -287,7 +287,7 @@ func init() {
287
287
InitShardPrimary.Flags().BoolVar(&initShardPrimaryOptions.Force, "force", false, "Force the reparent even if the provided tablet is not writable or the shard primary.")
288
288
Root.AddCommand(InitShardPrimary)
289
289
290
-
PlannedReparentShard.Flags().DurationVar(&plannedReparentShardOptions.WaitReplicasTimeout, "wait-replicas-timeout", *topo.RemoteOperationTimeout, "Time to wait for replicas to catch up on replication both before and after reparenting.")
290
+
PlannedReparentShard.Flags().DurationVar(&plannedReparentShardOptions.WaitReplicasTimeout, "wait-replicas-timeout", topo.RemoteOperationTimeout, "Time to wait for replicas to catch up on replication both before and after reparenting.")
291
291
PlannedReparentShard.Flags().StringVar(&plannedReparentShardOptions.NewPrimaryAliasStr, "new-primary", "", "Alias of a tablet that should be the new primary.")
292
292
PlannedReparentShard.Flags().StringVar(&plannedReparentShardOptions.AvoidPrimaryAliasStr, "avoid-primary", "", "Alias of a tablet that should not be the primary; i.e. \"reparent to any other tablet if this one is the primary\".")
Copy file name to clipboardExpand all lines: go/flags/endtoend/mysqlctl.txt
-4
Original file line number
Diff line number
Diff line change
@@ -103,17 +103,13 @@ Global flags:
103
103
--port int port for the server
104
104
--pprof strings enable profiling
105
105
--purge_logs_interval duration how often try to remove old logs (default 1h0m0s)
106
-
--remote_operation_timeout duration time to wait for a remote operation (default 30s)
107
106
--replication_connect_retry duration how long to wait in between replica reconnect attempts. Only precise to the second. (default 10s)
108
107
--security_policy string the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)
109
108
--service_map strings comma separated list of services to enable (or disable if prefixed with '-') Example: grpc-queryservice
110
109
--socket_file string Local unix socket file to listen on
111
110
--stderrthreshold severity logs at or above this threshold go to stderr (default 1)
112
111
--tablet_dir string The directory within the vtdataroot to store vttablet/mysql files. Defaults to being generated by the tablet uid.
113
112
--tablet_uid uint Tablet UID (default 41983)
114
-
--topo_global_root string the path of the global topology data in the global topology server
115
-
--topo_global_server_address string the address of the global topology server
116
-
--topo_implementation string the topology implementation to use
117
113
-v, --v Level log level for V logs
118
114
--version print binary version
119
115
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Copy file name to clipboardExpand all lines: go/flags/endtoend/mysqlctld.txt
-4
Original file line number
Diff line number
Diff line change
@@ -91,17 +91,13 @@ Usage of mysqlctld:
91
91
--port int port for the server
92
92
--pprof strings enable profiling
93
93
--purge_logs_interval duration how often try to remove old logs (default 1h0m0s)
94
-
--remote_operation_timeout duration time to wait for a remote operation (default 30s)
95
94
--replication_connect_retry duration how long to wait in between replica reconnect attempts. Only precise to the second. (default 10s)
96
95
--security_policy string the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)
97
96
--service_map strings comma separated list of services to enable (or disable if prefixed with '-') Example: grpc-queryservice
98
97
--socket_file string Local unix socket file to listen on
99
98
--stderrthreshold severity logs at or above this threshold go to stderr (default 1)
100
99
--tablet_dir string The directory within the vtdataroot to store vttablet/mysql files. Defaults to being generated by the tablet uid.
101
100
--tablet_uid uint Tablet UID (default 41983)
102
-
--topo_global_root string the path of the global topology data in the global topology server
103
-
--topo_global_server_address string the address of the global topology server
104
-
--topo_implementation string the topology implementation to use
105
101
-v, --v Level log level for V logs
106
102
--version print binary version
107
103
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtctldclient.txt
-4
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,6 @@ Flags:
108
108
--logtostderr log to standard error instead of files
109
109
--mysql_server_version string MySQL server version to advertise.
110
110
--purge_logs_interval duration how often try to remove old logs (default 1h0m0s)
111
-
--remote_operation_timeout duration time to wait for a remote operation (default 30s)
112
111
--security_policy string the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)
113
112
--server string server to use for connection (required)
114
113
--stats_backend string The name of the registered push-based monitoring/stats backend to use
@@ -117,9 +116,6 @@ Flags:
117
116
--stats_drop_variables string Variables to be dropped from the list of exported variables.
118
117
--stats_emit_period duration Interval between emitting stats to all registered backends (default 1m0s)
119
118
--stderrthreshold severity logs at or above this threshold go to stderr (default 1)
120
-
--topo_global_root string the path of the global topology data in the global topology server
121
-
--topo_global_server_address string the address of the global topology server
122
-
--topo_implementation string the topology implementation to use
123
119
-v, --v Level log level for V logs
124
120
--version version for vtctldclient
125
121
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Copy file name to clipboardExpand all lines: go/flags/endtoend/vttestserver.txt
-8
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,6 @@ Usage of vttestserver:
88
88
--purge_logs_interval duration how often try to remove old logs (default 1h0m0s)
89
89
--queryserver-config-transaction-timeout float query server transaction timeout (in seconds), a transaction will be killed if it takes longer than this value
90
90
--rdonly_count int Rdonly tablets per shard (default 1)
91
-
--remote_operation_timeout duration time to wait for a remote operation (default 30s)
92
91
--replica_count int Replica tablets per shard (includes primary) (default 2)
93
92
--replication_connect_retry duration how long to wait in between replica reconnect attempts. Only precise to the second. (default 10s)
94
93
--rng_seed int The random number generator seed to use when initializing with random data (see also --initialize_with_random_data). Multiple runs with the same seed will result with the same initial data. (default 123)
@@ -113,13 +112,6 @@ Usage of vttestserver:
113
112
--topo_consul_lock_session_checks string List of checks for consul session. (default "serfHealth")
114
113
--topo_consul_lock_session_ttl string TTL for consul session.
115
114
--topo_consul_watch_poll_duration duration time of the long poll for watch queries. (default 30s)
116
-
--topo_etcd_lease_ttl int Lease TTL for locks and leader election. The client will use KeepAlive to keep the lease going. (default 30)
117
-
--topo_etcd_tls_ca string path to the ca to use to validate the server cert when connecting to the etcd topo server
118
-
--topo_etcd_tls_cert string path to the client cert to use to connect to the etcd topo server, requires topo_etcd_tls_key, enables TLS
119
-
--topo_etcd_tls_key string path to the client key to use to connect to the etcd topo server, enables TLS
120
-
--topo_global_root string the path of the global topology data in the global topology server
121
-
--topo_global_server_address string the address of the global topology server
122
-
--topo_implementation string the topology implementation to use
123
115
--topo_zk_auth_file string auth to use when connecting to the zk topo server, file contents should be <scheme>:<auth>, e.g., digest:user:pass
124
116
--topo_zk_base_timeout duration zk base timeout (see zk.Connect) (default 30s)
125
117
--topo_zk_max_concurrency int maximum number of pending requests to send to a Zookeeper server. (default 64)
0 commit comments