vitess.io/vitess@v0.16.2/doc/flags/14.0-to-15.0-transition/vttestserver.diff (about)

     1  diff --git a/flags/14.0/vttestserver.txt b/flags/15.0/vttestserver.txt
     2  index 755eba1..d30ab35 100644
     3  --- a/flags/14.0/vttestserver.txt
     4  +++ b/flags/15.0/vttestserver.txt
     5  @@ -1,184 +1,144 @@
     6   Usage of vttestserver:
     7  -      --alsologtostderr                                                       log to standard error as well as files
     8  -      --app_idle_timeout duration                                             Idle timeout for app connections (default 1m0s)
     9  -      --app_pool_size int                                                     Size of the connection pool for app connections (default 40)
    10  -      --backup_engine_implementation string                                   Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin")
    11  -      --backup_storage_block_size int                                         if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000)
    12  -      --backup_storage_compress                                               if set, the backup files will be compressed (default is true). Set to false for instance if a backup_storage_hook is specified and it compresses the data. (default true)
    13  -      --backup_storage_hook string                                            if set, we send the contents of the backup files through this hook.
    14  -      --backup_storage_implementation string                                  which implementation to use for the backup storage feature
    15  -      --backup_storage_number_blocks int                                      if backup_storage_compress is true, backup_storage_number_blocks sets the number of blocks that can be processed, at once, before the writer blocks, during compression (default is 2). It should be equal to the number of CPUs available for compression (default 2)
    16  -      --builtinbackup_mysqld_timeout duration                                 how long to wait for mysqld to shutdown at the start of the backup (default 10m0s)
    17  -      --builtinbackup_progress duration                                       how often to send progress updates when backing up large files (default 5s)
    18  -      --catch-sigpipe                                                         catch and ignore SIGPIPE on stdout and stderr if specified
    19  -      --cells string                                                          Comma separated list of cells (default "test")
    20  -      --charset string                                                        MySQL charset (default "utf8mb4")
    21  -      --consul_auth_static_file string                                        JSON File to read the topos/tokens from.
    22  -      --cpu_profile string                                                    deprecated: use '-pprof=cpu' instead
    23  -      --data_dir string                                                       Directory where the data files will be placed, defaults to a random directory under /vt/vtdataroot
    24  -      --datadog-agent-host string                                             host to send spans to. if empty, no tracing will be done
    25  -      --datadog-agent-port string                                             port to send spans to. if empty, no tracing will be done
    26  -      --db-credentials-file string                                            db credentials file; send SIGHUP to reload this file
    27  -      --db-credentials-server string                                          db credentials server type ('file' - file implementation; 'vault' - HashiCorp Vault implementation) (default "file")
    28  -      --db-credentials-vault-addr string                                      URL to Vault server
    29  -      --db-credentials-vault-path string                                      Vault path to credentials JSON blob, e.g.: secret/data/prod/dbcreds
    30  -      --db-credentials-vault-role-mountpoint string                           Vault AppRole mountpoint; can also be passed using VAULT_MOUNTPOINT environment variable (default "approle")
    31  -      --db-credentials-vault-role-secretidfile string                         Path to file containing Vault AppRole secret_id; can also be passed using VAULT_SECRETID environment variable
    32  -      --db-credentials-vault-roleid string                                    Vault AppRole id; can also be passed using VAULT_ROLEID environment variable
    33  -      --db-credentials-vault-timeout duration                                 Timeout for vault API operations (default 10s)
    34  -      --db-credentials-vault-tls-ca string                                    Path to CA PEM for validating Vault server certificate
    35  -      --db-credentials-vault-tokenfile string                                 Path to file containing Vault auth token; token can also be passed using VAULT_TOKEN environment variable
    36  -      --db-credentials-vault-ttl duration                                     How long to cache DB credentials from the Vault server (default 30m0s)
    37  -      --dba_idle_timeout duration                                             Idle timeout for dba connections (default 1m0s)
    38  -      --dba_pool_size int                                                     Size of the connection pool for dba connections (default 20)
    39  -      --default_schema_dir string                                             Default directory for initial schema files. If no schema is found in schema_dir, default to this location.
    40  -      --disable_active_reparents                                              if set, do not allow active reparents. Use this to protect a cluster using external reparents.
    41  -      --emit_stats                                                            If set, emit stats to push-based monitoring and stats backends
    42  -      --enable_direct_ddl                                                     Allow users to submit direct DDL statements (default true)
    43  -      --enable_online_ddl                                                     Allow users to submit, review and control Online DDL (default true)
    44  -      --enable_system_settings                                                This will enable the system settings to be changed per session at the database connection level (default true)
    45  -      --external_topo_global_root string                                      the path of the global topology data in the global topology server for vtcombo process
    46  -      --external_topo_global_server_address string                            the address of the global topology server for vtcombo process
    47  -      --external_topo_implementation string                                   the topology implementation to use for vtcombo process
    48  -      --extra_my_cnf string                                                   extra files to add to the config, separated by ':'
    49  -      --foreign_key_mode string                                               This is to provide how to handle foreign key constraint in create/alter table. Valid values are: allow, disallow (default "allow")
    50  -      --grpc_auth_mode string                                                 Which auth plugin implementation to use (eg: static)
    51  -      --grpc_auth_mtls_allowed_substrings string                              List of substrings of at least one of the client certificate names (separated by colon).
    52  -      --grpc_auth_static_client_creds string                                  when using grpc_static_auth in the server, this file provides the credentials to use to authenticate with server
    53  -      --grpc_auth_static_password_file string                                 JSON File to read the users/passwords from.
    54  -      --grpc_ca string                                                        server CA to use for gRPC connections, requires TLS, and enforces client certificate check
    55  -      --grpc_cert string                                                      server certificate to use for gRPC connections, requires grpc_key, enables TLS
    56  -      --grpc_compression string                                               Which protocol to use for compressing gRPC. Default: nothing. Supported: snappy
    57  -      --grpc_crl string                                                       path to a certificate revocation list in PEM format, client certificates will be further verified against this file during TLS handshake
    58  -      --grpc_enable_optional_tls                                              enable optional TLS mode when a server accepts both TLS and plain-text connections on the same port
    59  -      --grpc_enable_tracing                                                   Enable GRPC tracing
    60  -      --grpc_initial_conn_window_size int                                     gRPC initial connection window size
    61  -      --grpc_initial_window_size int                                          gRPC initial window size
    62  -      --grpc_keepalive_time duration                                          After a duration of this time, if the client doesn't see any activity, it pings the server to see if the transport is still alive. (default 10s)
    63  -      --grpc_keepalive_timeout duration                                       After having pinged for keepalive check, the client waits for a duration of Timeout and if no activity is seen even after that the connection is closed. (default 10s)
    64  -      --grpc_key string                                                       server private key to use for gRPC connections, requires grpc_cert, enables TLS
    65  -      --grpc_max_connection_age duration                                      Maximum age of a client connection before GoAway is sent. (default 2562047h47m16.854775807s)
    66  -      --grpc_max_connection_age_grace duration                                Additional grace period after grpc_max_connection_age, after which connections are forcibly closed. (default 2562047h47m16.854775807s)
    67  -      --grpc_max_message_size int                                             Maximum allowed RPC message size. Larger messages will be rejected by gRPC with the error 'exceeding the max size'. (default 16777216)
    68  -      --grpc_port int                                                         Port to listen on for gRPC calls
    69  -      --grpc_prometheus                                                       Enable gRPC monitoring with Prometheus
    70  -      --grpc_server_ca string                                                 path to server CA in PEM format, which will be combine with server cert, return full certificate chain to clients
    71  -      --grpc_server_initial_conn_window_size int                              gRPC server initial connection window size
    72  -      --grpc_server_initial_window_size int                                   gRPC server initial window size
    73  -      --grpc_server_keepalive_enforcement_policy_min_time duration            gRPC server minimum keepalive time (default 10s)
    74  -      --grpc_server_keepalive_enforcement_policy_permit_without_stream        gRPC server permit client keepalive pings even when there are no active streams (RPCs)
    75  -      --initialize_with_random_data                                           If this flag is each table-shard will be initialized with random data. See also the 'rng_seed' and 'min_shard_size' and 'max_shard_size' flags.
    76  -      --jaeger-agent-host string                                              host and port to send spans to. if empty, no tracing will be done
    77  -      --keep_logs duration                                                    keep logs for this long (using ctime) (zero to keep forever)
    78  -      --keep_logs_by_mtime duration                                           keep logs for this long (using mtime) (zero to keep forever)
    79  -      --keyspaces string                                                      Comma separated list of keyspaces (default "test_keyspace")
    80  -      --lameduck-period duration                                              keep running at least this long after SIGTERM before stopping (default 50ms)
    81  -      --log_backtrace_at value                                                when logging hits line file:N, emit a stack trace
    82  -      --log_dir string                                                        If non-empty, write log files in this directory
    83  -      --log_err_stacks                                                        log stack traces for errors
    84  -      --log_rotate_max_size uint                                              size in bytes at which logs are rotated (glog.MaxSize) (default 1887436800)
    85  -      --logtostderr                                                           log to standard error instead of files
    86  -      --master_connect_retry duration                                         Deprecated, use -replication_connect_retry (default 10s)
    87  -      --max_table_shard_size int                                              The maximum number of initial rows in a table shard. Ignored if--initialize_with_random_data is false. The actual number is chosen randomly (default 10000)
    88  -      --mem-profile-rate int                                                  deprecated: use '-pprof=mem' instead (default 524288)
    89  -      --min_table_shard_size int                                              The minimum number of initial rows in a table shard. Ignored if--initialize_with_random_data is false. The actual number is chosen randomly. (default 1000)
    90  -      --mutex-profile-fraction int                                            deprecated: use '-pprof=mutex' instead
    91  -      --mysql_auth_server_static_file string                                  JSON File to read the users/passwords from.
    92  -      --mysql_auth_server_static_string string                                JSON representation of the users/passwords config.
    93  -      --mysql_auth_static_reload_interval duration                            Ticker to reload credentials
    94  -      --mysql_bind_host string                                                which host to bind vtgate mysql listener to (default "localhost")
    95  -      --mysql_clientcert_auth_method string                                   client-side authentication method to use. Supported values: mysql_clear_password, dialog. (default "mysql_clear_password")
    96  -      --mysql_only                                                            If this flag is set only mysql is initialized. The rest of the vitess components are not started. Also, the output specifies the mysql unix socket instead of the vtgate port.
    97  -      --mysql_server_flush_delay duration                                     Delay after which buffered response will be flushed to the client. (default 100ms)
    98  -      --mysql_server_version string                                           MySQL server version to advertise.
    99  -      --mysqlctl_client_protocol string                                       the protocol to use to talk to the mysqlctl server (default "grpc")
   100  -      --mysqlctl_mycnf_template string                                        template file to use for generating the my.cnf file during server init
   101  -      --mysqlctl_socket string                                                socket file to use for remote mysqlctl actions (empty for local actions)
   102  -      --null_probability float                                                The probability to initialize a field with 'NULL'  if --initialize_with_random_data is true. Only applies to fields that can contain NULL values. (default 0.1)
   103  -      --num_shards string                                                     Comma separated shard count (one per keyspace) (default "2")
   104  -      --onclose_timeout duration                                              wait no more than this for OnClose handlers before stopping (default 1ns)
   105  -      --onterm_timeout duration                                               wait no more than this for OnTermSync handlers before stopping (default 10s)
   106  -      --persistent_mode                                                       If this flag is set, the MySQL data directory is not cleaned up when LocalCluster.TearDown() is called. This is useful for running vttestserver as a database container in local developer environments. Note that db migration files (--schema_dir option) and seeding of random data (--initialize_with_random_data option) will only run during cluster startup if the data directory does not already exist. vschema migrations are run every time the cluster starts, since persistence for the topology server has not been implemented yet
   107  -      --pid_file string                                                       If set, the process will write its pid to the named file, and delete it on graceful shutdown.
   108  -      --planner-version string                                                Sets the default planner to use when the session has not changed it. Valid values are: V3, Gen4, Gen4Greedy and Gen4Fallback. Gen4Fallback tries the new gen4 planner and falls back to the V3 planner if the gen4 fails.
   109  -      --planner_version string                                                planner_version is deprecated. Please use planner-version instead
   110  -      --pool_hostname_resolve_interval duration                               if set force an update to all hostnames and reconnect if changed, defaults to 0 (disabled)
   111  -      --port int                                                              Port to use for vtcombo. If this is 0, a random port will be chosen.
   112  -      --pprof string                                                          enable profiling
   113  -      --proto_topo string                                                     Define the fake cluster topology as a compact text format encoded vttest proto. See vttest.proto for more information.
   114  -      --purge_logs_interval duration                                          how often try to remove old logs (default 1h0m0s)
   115  -      --queryserver-config-transaction-timeout float                          query server transaction timeout (in seconds), a transaction will be killed if it takes longer than this value
   116  -      --rdonly_count int                                                      Rdonly tablets per shard (default 1)
   117  -      --remote_operation_timeout duration                                     time to wait for a remote operation (default 30s)
   118  -      --replica_count int                                                     Replica tablets per shard (includes primary) (default 2)
   119  -      --replication_connect_retry duration                                    how long to wait in between replica reconnect attempts. Only precise to the second. (default 10s)
   120  -      --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)
   121  -      --schema_dir string                                                     Directory for initial schema files. Within this dir, there should be a subdir for each keyspace. Within each keyspace dir, each file is executed as SQL after the database is created on each shard. If the directory contains a vschema.json file, it will be used as the vschema for the V3 API.
   122  -      --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)
   123  -      --service_map value                                                     comma separated list of services to enable (or disable if prefixed with '-') Example: grpc-vtworker
   124  -      --snapshot_file string                                                  A MySQL DB snapshot file
   125  -      --sql-max-length-errors int                                             truncate queries in error logs to the given length (default unlimited)
   126  -      --sql-max-length-ui int                                                 truncate queries in debug UIs to the given length (default 512) (default 512)
   127  -      --stats_backend string                                                  The name of the registered push-based monitoring/stats backend to use
   128  -      --stats_combine_dimensions string                                       List of dimensions to be combined into a single "all" value in exported stats vars
   129  -      --stats_common_tags string                                              Comma-separated list of common tags for the stats backend. It provides both label and values. Example: label1:value1,label2:value2
   130  -      --stats_drop_variables string                                           Variables to be dropped from the list of exported variables.
   131  -      --stats_emit_period duration                                            Interval between emitting stats to all registered backends (default 1m0s)
   132  -      --stderrthreshold value                                                 logs at or above this threshold go to stderr (default 1)
   133  -      --tablet_dir string                                                     The directory within the vtdataroot to store vttablet/mysql files. Defaults to being generated by the tablet uid.
   134  -      --tablet_hostname string                                                The hostname to use for the tablet otherwise it will be derived from OS' hostname (default "localhost")
   135  -      --tablet_manager_grpc_ca string                                         the server ca to use to validate servers when connecting
   136  -      --tablet_manager_grpc_cert string                                       the cert to use to connect
   137  -      --tablet_manager_grpc_concurrency int                                   concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,AllPrivs,App}) (default 8)
   138  -      --tablet_manager_grpc_connpool_size int                                 number of tablets to keep tmclient connections open to (default 100)
   139  -      --tablet_manager_grpc_crl string                                        the server crl to use to validate server certificates when connecting
   140  -      --tablet_manager_grpc_key string                                        the key to use to connect
   141  -      --tablet_manager_grpc_server_name string                                the server name to use to validate server certificate
   142  -      --tablet_manager_protocol string                                        the protocol to use to talk to vttablet (default "grpc")
   143  -      --topo_consul_lock_delay duration                                       LockDelay for consul session. (default 15s)
   144  -      --topo_consul_lock_session_checks string                                List of checks for consul session. (default "serfHealth")
   145  -      --topo_consul_lock_session_ttl string                                   TTL for consul session.
   146  -      --topo_consul_watch_poll_duration duration                              time of the long poll for watch queries. (default 30s)
   147  -      --topo_etcd_lease_ttl int                                               Lease TTL for locks and leader election. The client will use KeepAlive to keep the lease going. (default 30)
   148  -      --topo_etcd_tls_ca string                                               path to the ca to use to validate the server cert when connecting to the etcd topo server
   149  -      --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
   150  -      --topo_etcd_tls_key string                                              path to the client key to use to connect to the etcd topo server, enables TLS
   151  -      --topo_global_root string                                               the path of the global topology data in the global topology server
   152  -      --topo_global_server_address string                                     the address of the global topology server
   153  -      --topo_implementation string                                            the topology implementation to use
   154  -      --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
   155  -      --topo_zk_base_timeout duration                                         zk base timeout (see zk.Connect) (default 30s)
   156  -      --topo_zk_max_concurrency int                                           maximum number of pending requests to send to a Zookeeper server. (default 64)
   157  -      --topo_zk_tls_ca string                                                 the server ca to use to validate servers when connecting to the zk topo server
   158  -      --topo_zk_tls_cert string                                               the cert to use to connect to the zk topo server, requires topo_zk_tls_key, enables TLS
   159  -      --topo_zk_tls_key string                                                the key to use to connect to the zk topo server, enables TLS
   160  -      --tracer string                                                         tracing service to use (default "noop")
   161  -      --tracing-enable-logging                                                whether to enable logging in the tracing service
   162  -      --tracing-sampling-rate value                                           sampling rate for the probabilistic jaeger sampler (default 0.1)
   163  -      --tracing-sampling-type value                                           sampling strategy to use for jaeger. possible values are 'const', 'probabilistic', 'rateLimiting', or 'remote' (default const)
   164  -      --transaction_mode string                                               Transaction mode MULTI (default), SINGLE or TWOPC  (default "MULTI")
   165  -      --v value                                                               log level for V logs
   166  -      --version                                                               print binary version
   167  -      --vmodule value                                                         comma-separated list of pattern=N settings for file-filtered logging
   168  -      --vschema_ddl_authorized_users string                                   Comma separated list of users authorized to execute vschema ddl operations via vtgate
   169  -      --vtctl_client_protocol string                                          the protocol to use to talk to the vtctl server (default "grpc")
   170  -      --vtctld_grpc_ca string                                                 the server ca to use to validate servers when connecting
   171  -      --vtctld_grpc_cert string                                               the cert to use to connect
   172  -      --vtctld_grpc_crl string                                                the server crl to use to validate server certificates when connecting
   173  -      --vtctld_grpc_key string                                                the key to use to connect
   174  -      --vtctld_grpc_server_name string                                        the server name to use to validate server certificate
   175  -      --vtgate_grpc_ca string                                                 the server ca to use to validate servers when connecting
   176  -      --vtgate_grpc_cert string                                               the cert to use to connect
   177  -      --vtgate_grpc_crl string                                                the server crl to use to validate server certificates when connecting
   178  -      --vtgate_grpc_key string                                                the key to use to connect
   179  -      --vtgate_grpc_server_name string                                        the server name to use to validate server certificate
   180  -      --vtgate_protocol string                                                how to talk to vtgate (default "grpc")
   181  -      --workflow_manager_init                                                 Enable workflow manager
   182  -      --xbstream_restore_flags string                                         flags to pass to xbstream command during restore. These should be space separated and will be added to the end of the command. These need to match the ones used for backup e.g. --compress / --decompress, --encrypt / --decrypt
   183  -      --xtrabackup_backup_flags string                                        flags to pass to backup command. These should be space separated and will be added to the end of the command
   184  -      --xtrabackup_prepare_flags string                                       flags to pass to prepare command. These should be space separated and will be added to the end of the command
   185  -      --xtrabackup_root_path string                                           directory location of the xtrabackup and xbstream executables, e.g., /usr/bin
   186  -      --xtrabackup_stream_mode string                                         which mode to use if streaming, valid values are tar and xbstream (default "tar")
   187  -      --xtrabackup_stripe_block_size uint                                     Size in bytes of each block that gets sent to a given stripe before rotating to the next stripe (default 102400)
   188  -      --xtrabackup_stripes uint                                               If greater than 0, use data striping across this many destination files to parallelize data transfer and decompression
   189  -      --xtrabackup_user string                                                User that xtrabackup will use to connect to the database server. This user must have all necessary privileges. For details, please refer to xtrabackup documentation.
   190  +      --alsologtostderr                                                  log to standard error as well as files
   191  +      --app_idle_timeout duration                                        Idle timeout for app connections (default 1m0s)
   192  +      --app_pool_size int                                                Size of the connection pool for app connections (default 40)
   193  +      --backup_engine_implementation string                              Specifies which implementation to use for creating new backups (builtin or xtrabackup). Restores will always be done with whichever engine created a given backup. (default "builtin")
   194  +      --backup_storage_block_size int                                    if backup_storage_compress is true, backup_storage_block_size sets the byte size for each block while compressing (default is 250000). (default 250000)
   195  +      --backup_storage_compress                                          if set, the backup files will be compressed (default is true). Set to false for instance if a backup_storage_hook is specified and it compresses the data. (default true)
   196  +      --backup_storage_number_blocks int                                 if backup_storage_compress is true, backup_storage_number_blocks sets the number of blocks that can be processed, at once, before the writer blocks, during compression (default is 2). It should be equal to the number of CPUs available for compression. (default 2)
   197  +      --builtinbackup_mysqld_timeout duration                            how long to wait for mysqld to shutdown at the start of the backup. (default 10m0s)
   198  +      --builtinbackup_progress duration                                  how often to send progress updates when backing up large files. (default 5s)
   199  +      --catch-sigpipe                                                    catch and ignore SIGPIPE on stdout and stderr if specified
   200  +      --cells strings                                                    Comma separated list of cells (default [test])
   201  +      --charset string                                                   MySQL charset (default "utf8mb4")
   202  +      --compression-engine-name string                                   compressor engine used for compression. (default "pargzip")
   203  +      --compression-level int                                            what level to pass to the compressor. (default 1)
   204  +      --consul_auth_static_file string                                   JSON File to read the topos/tokens from.
   205  +      --data_dir string                                                  Directory where the data files will be placed, defaults to a random directory under /vt/vtdataroot
   206  +      --dba_idle_timeout duration                                        Idle timeout for dba connections (default 1m0s)
   207  +      --dba_pool_size int                                                Size of the connection pool for dba connections (default 20)
   208  +      --default_schema_dir string                                        Default directory for initial schema files. If no schema is found in schema_dir, default to this location.
   209  +      --disable_active_reparents                                         if set, do not allow active reparents. Use this to protect a cluster using external reparents.
   210  +      --enable_direct_ddl                                                Allow users to submit direct DDL statements (default true)
   211  +      --enable_online_ddl                                                Allow users to submit, review and control Online DDL (default true)
   212  +      --enable_system_settings                                           This will enable the system settings to be changed per session at the database connection level (default true)
   213  +      --external-compressor string                                       command with arguments to use when compressing a backup.
   214  +      --external-compressor-extension string                             extension to use when using an external compressor.
   215  +      --external-decompressor string                                     command with arguments to use when decompressing a backup.
   216  +      --external_topo_global_root string                                 the path of the global topology data in the global topology server for vtcombo process
   217  +      --external_topo_global_server_address string                       the address of the global topology server for vtcombo process
   218  +      --external_topo_implementation string                              the topology implementation to use for vtcombo process
   219  +      --extra_my_cnf string                                              extra files to add to the config, separated by ':'
   220  +      --foreign_key_mode string                                          This is to provide how to handle foreign key constraint in create/alter table. Valid values are: allow, disallow (default "allow")
   221  +      --grpc_auth_mode string                                            Which auth plugin implementation to use (eg: static)
   222  +      --grpc_auth_mtls_allowed_substrings string                         List of substrings of at least one of the client certificate names (separated by colon).
   223  +      --grpc_auth_static_client_creds string                             When using grpc_static_auth in the server, this file provides the credentials to use to authenticate with server.
   224  +      --grpc_auth_static_password_file string                            JSON File to read the users/passwords from.
   225  +      --grpc_ca string                                                   server CA to use for gRPC connections, requires TLS, and enforces client certificate check
   226  +      --grpc_cert string                                                 server certificate to use for gRPC connections, requires grpc_key, enables TLS
   227  +      --grpc_compression string                                          Which protocol to use for compressing gRPC. Default: nothing. Supported: snappy
   228  +      --grpc_crl string                                                  path to a certificate revocation list in PEM format, client certificates will be further verified against this file during TLS handshake
   229  +      --grpc_enable_optional_tls                                         enable optional TLS mode when a server accepts both TLS and plain-text connections on the same port
   230  +      --grpc_enable_tracing                                              Enable gRPC tracing.
   231  +      --grpc_initial_conn_window_size int                                gRPC initial connection window size
   232  +      --grpc_initial_window_size int                                     gRPC initial window size
   233  +      --grpc_keepalive_time duration                                     After a duration of this time, if the client doesn't see any activity, it pings the server to see if the transport is still alive. (default 10s)
   234  +      --grpc_keepalive_timeout duration                                  After having pinged for keepalive check, the client waits for a duration of Timeout and if no activity is seen even after that the connection is closed. (default 10s)
   235  +      --grpc_key string                                                  server private key to use for gRPC connections, requires grpc_cert, enables TLS
   236  +      --grpc_max_connection_age duration                                 Maximum age of a client connection before GoAway is sent. (default 2562047h47m16.854775807s)
   237  +      --grpc_max_connection_age_grace duration                           Additional grace period after grpc_max_connection_age, after which connections are forcibly closed. (default 2562047h47m16.854775807s)
   238  +      --grpc_max_message_size int                                        Maximum allowed RPC message size. Larger messages will be rejected by gRPC with the error 'exceeding the max size'. (default 16777216)
   239  +      --grpc_port int                                                    Port to listen on for gRPC calls. If zero, do not listen.
   240  +      --grpc_prometheus                                                  Enable gRPC monitoring with Prometheus.
   241  +      --grpc_server_ca string                                            path to server CA in PEM format, which will be combine with server cert, return full certificate chain to clients
   242  +      --grpc_server_initial_conn_window_size int                         gRPC server initial connection window size
   243  +      --grpc_server_initial_window_size int                              gRPC server initial window size
   244  +      --grpc_server_keepalive_enforcement_policy_min_time duration       gRPC server minimum keepalive time (default 10s)
   245  +      --grpc_server_keepalive_enforcement_policy_permit_without_stream   gRPC server permit client keepalive pings even when there are no active streams (RPCs)
   246  +  -h, --help                                                             display usage and exit
   247  +      --initialize_with_random_data                                      If this flag is each table-shard will be initialized with random data. See also the 'rng_seed' and 'min_shard_size' and 'max_shard_size' flags.
   248  +      --keep_logs duration                                               keep logs for this long (using ctime) (zero to keep forever)
   249  +      --keep_logs_by_mtime duration                                      keep logs for this long (using mtime) (zero to keep forever)
   250  +      --keyspaces strings                                                Comma separated list of keyspaces (default [test_keyspace])
   251  +      --lameduck-period duration                                         keep running at least this long after SIGTERM before stopping (default 50ms)
   252  +      --log_backtrace_at traceLocation                                   when logging hits line file:N, emit a stack trace (default :0)
   253  +      --log_dir string                                                   If non-empty, write log files in this directory
   254  +      --log_err_stacks                                                   log stack traces for errors
   255  +      --log_rotate_max_size uint                                         size in bytes at which logs are rotated (glog.MaxSize) (default 1887436800)
   256  +      --logtostderr                                                      log to standard error instead of files
   257  +      --max_table_shard_size int                                         The maximum number of initial rows in a table shard. Ignored if--initialize_with_random_data is false. The actual number is chosen randomly (default 10000)
   258  +      --min_table_shard_size int                                         The minimum number of initial rows in a table shard. Ignored if--initialize_with_random_data is false. The actual number is chosen randomly. (default 1000)
   259  +      --mysql_bind_host string                                           which host to bind vtgate mysql listener to (default "localhost")
   260  +      --mysql_only                                                       If this flag is set only mysql is initialized. The rest of the vitess components are not started. Also, the output specifies the mysql unix socket instead of the vtgate port.
   261  +      --mysql_server_version string                                      MySQL server version to advertise.
   262  +      --mysqlctl_mycnf_template string                                   template file to use for generating the my.cnf file during server init
   263  +      --mysqlctl_socket string                                           socket file to use for remote mysqlctl actions (empty for local actions)
   264  +      --null_probability float                                           The probability to initialize a field with 'NULL'  if --initialize_with_random_data is true. Only applies to fields that can contain NULL values. (default 0.1)
   265  +      --num_shards strings                                               Comma separated shard count (one per keyspace) (default [2])
   266  +      --onclose_timeout duration                                         wait no more than this for OnClose handlers before stopping (default 1ns)
   267  +      --onterm_timeout duration                                          wait no more than this for OnTermSync handlers before stopping (default 10s)
   268  +      --persistent_mode                                                  If this flag is set, the MySQL data directory is not cleaned up when LocalCluster.TearDown() is called. This is useful for running vttestserver as a database container in local developer environments. Note that db migration files (--schema_dir option) and seeding of random data (--initialize_with_random_data option) will only run during cluster startup if the data directory does not already exist. vschema migrations are run every time the cluster starts, since persistence for the topology server has not been implemented yet
   269  +      --pid_file string                                                  If set, the process will write its pid to the named file, and delete it on graceful shutdown.
   270  +      --planner-version string                                           Sets the default planner to use when the session has not changed it. Valid values are: V3, Gen4, Gen4Greedy and Gen4Fallback. Gen4Fallback tries the new gen4 planner and falls back to the V3 planner if the gen4 fails.
   271  +      --pool_hostname_resolve_interval duration                          if set force an update to all hostnames and reconnect if changed, defaults to 0 (disabled)
   272  +      --port int                                                         Port to use for vtcombo. If this is 0, a random port will be chosen.
   273  +      --pprof strings                                                    enable profiling
   274  +      --proto_topo string                                                Define the fake cluster topology as a compact text format encoded vttest proto. See vttest.proto for more information.
   275  +      --purge_logs_interval duration                                     how often try to remove old logs (default 1h0m0s)
   276  +      --queryserver-config-transaction-timeout float                     query server transaction timeout (in seconds), a transaction will be killed if it takes longer than this value
   277  +      --rdonly_count int                                                 Rdonly tablets per shard (default 1)
   278  +      --replica_count int                                                Replica tablets per shard (includes primary) (default 2)
   279  +      --replication_connect_retry duration                               how long to wait in between replica reconnect attempts. Only precise to the second. (default 10s)
   280  +      --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)
   281  +      --schema_dir string                                                Directory for initial schema files. Within this dir, there should be a subdir for each keyspace. Within each keyspace dir, each file is executed as SQL after the database is created on each shard. If the directory contains a vschema.json file, it will be used as the vschema for the V3 API.
   282  +      --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)
   283  +      --service_map strings                                              comma separated list of services to enable (or disable if prefixed with '-') Example: grpc-queryservice
   284  +      --snapshot_file string                                             A MySQL DB snapshot file
   285  +      --sql-max-length-errors int                                        truncate queries in error logs to the given length (default unlimited)
   286  +      --sql-max-length-ui int                                            truncate queries in debug UIs to the given length (default 512) (default 512)
   287  +      --stderrthreshold severity                                         logs at or above this threshold go to stderr (default 1)
   288  +      --tablet_dir string                                                The directory within the vtdataroot to store vttablet/mysql files. Defaults to being generated by the tablet uid.
   289  +      --tablet_hostname string                                           The hostname to use for the tablet otherwise it will be derived from OS' hostname (default "localhost")
   290  +      --tablet_manager_grpc_ca string                                    the server ca to use to validate servers when connecting
   291  +      --tablet_manager_grpc_cert string                                  the cert to use to connect
   292  +      --tablet_manager_grpc_concurrency int                              concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,AllPrivs,App}) (default 8)
   293  +      --tablet_manager_grpc_connpool_size int                            number of tablets to keep tmclient connections open to (default 100)
   294  +      --tablet_manager_grpc_crl string                                   the server crl to use to validate server certificates when connecting
   295  +      --tablet_manager_grpc_key string                                   the key to use to connect
   296  +      --tablet_manager_grpc_server_name string                           the server name to use to validate server certificate
   297  +      --tablet_manager_protocol string                                   Protocol to use to make tabletmanager RPCs to vttablets. (default "grpc")
   298  +      --topo_consul_lock_delay duration                                  LockDelay for consul session. (default 15s)
   299  +      --topo_consul_lock_session_checks string                           List of checks for consul session. (default "serfHealth")
   300  +      --topo_consul_lock_session_ttl string                              TTL for consul session.
   301  +      --topo_consul_watch_poll_duration duration                         time of the long poll for watch queries. (default 30s)
   302  +      --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
   303  +      --topo_zk_base_timeout duration                                    zk base timeout (see zk.Connect) (default 30s)
   304  +      --topo_zk_max_concurrency int                                      maximum number of pending requests to send to a Zookeeper server. (default 64)
   305  +      --topo_zk_tls_ca string                                            the server ca to use to validate servers when connecting to the zk topo server
   306  +      --topo_zk_tls_cert string                                          the cert to use to connect to the zk topo server, requires topo_zk_tls_key, enables TLS
   307  +      --topo_zk_tls_key string                                           the key to use to connect to the zk topo server, enables TLS
   308  +      --transaction_mode string                                          Transaction mode MULTI (default), SINGLE or TWOPC  (default "MULTI")
   309  +      --v Level                                                          log level for V logs
   310  +  -v, --version                                                          print binary version
   311  +      --vmodule moduleSpec                                               comma-separated list of pattern=N settings for file-filtered logging
   312  +      --vschema_ddl_authorized_users string                              Comma separated list of users authorized to execute vschema ddl operations via vtgate
   313  +      --vtctl_client_protocol string                                     Protocol to use to talk to the vtctl server. (default "grpc")
   314  +      --vtctld_grpc_ca string                                            the server ca to use to validate servers when connecting
   315  +      --vtctld_grpc_cert string                                          the cert to use to connect
   316  +      --vtctld_grpc_crl string                                           the server crl to use to validate server certificates when connecting
   317  +      --vtctld_grpc_key string                                           the key to use to connect
   318  +      --vtctld_grpc_server_name string                                   the server name to use to validate server certificate
   319  +      --vtgate_grpc_ca string                                            the server ca to use to validate servers when connecting
   320  +      --vtgate_grpc_cert string                                          the cert to use to connect
   321  +      --vtgate_grpc_crl string                                           the server crl to use to validate server certificates when connecting
   322  +      --vtgate_grpc_key string                                           the key to use to connect
   323  +      --vtgate_grpc_server_name string                                   the server name to use to validate server certificate
   324  +      --workflow_manager_init                                            Enable workflow manager
   325  +      --xbstream_restore_flags string                                    Flags to pass to xbstream command during restore. These should be space separated and will be added to the end of the command. These need to match the ones used for backup e.g. --compress / --decompress, --encrypt / --decrypt
   326  +      --xtrabackup_backup_flags string                                   Flags to pass to backup command. These should be space separated and will be added to the end of the command
   327  +      --xtrabackup_prepare_flags string                                  Flags to pass to prepare command. These should be space separated and will be added to the end of the command
   328  +      --xtrabackup_root_path string                                      Directory location of the xtrabackup and xbstream executables, e.g., /usr/bin
   329  +      --xtrabackup_stream_mode string                                    Which mode to use if streaming, valid values are tar and xbstream. Please note that tar is not supported in XtraBackup 8.0 (default "tar")
   330  +      --xtrabackup_stripe_block_size uint                                Size in bytes of each block that gets sent to a given stripe before rotating to the next stripe (default 102400)
   331  +      --xtrabackup_stripes uint                                          If greater than 0, use data striping across this many destination files to parallelize data transfer and decompression
   332  +      --xtrabackup_user string                                           User that xtrabackup will use to connect to the database server. This user must have all necessary privileges. For details, please refer to xtrabackup documentation.