Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Main = &cobra.Command{ Use: "vtgate", Short: "VTGate is a stateless proxy responsible for accepting requests from applications and routing them to the appropriate tablet server(s) for query execution. It speaks both the MySQL Protocol and a gRPC protocol.", Long: `VTGate is a stateless proxy responsible for accepting requests from applications and routing them to the appropriate tablet server(s) for query execution. It speaks both the MySQL Protocol and a gRPC protocol. ### Key Options ` + "\n* `--srv_topo_cache_ttl`: There may be instances where you will need to increase the cached TTL from the default of 1 second to a higher number:\n" + ` * You may want to increase this option if you see that your topo leader goes down and keeps your queries waiting for a few seconds.`, Example: `vtgate \ --topo_implementation etcd2 \ --topo_global_server_address localhost:2379 \ --topo_global_root /vitess/global \ --log_dir $VTDATAROOT/tmp \ --port 15001 \ --grpc_port 15991 \ --mysql_server_port 15306 \ --cell test \ --cells_to_watch test \ --tablet_types_to_wait PRIMARY,REPLICA \ --service_map 'grpc-vtgateservice' \ --pid_file $VTDATAROOT/tmp/vtgate.pid \ --mysql_auth_server_impl none`, Args: cobra.NoArgs, Version: servenv.AppVersion.String(), PreRunE: servenv.CobraPreRunE, RunE: run, } )
Functions ¶
Types ¶
This section is empty.
Source Files ¶
- cli.go
- plugin_auth_clientcert.go
- plugin_auth_ldap.go
- plugin_auth_static.go
- plugin_auth_vault.go
- plugin_consultopo.go
- plugin_etcd2topo.go
- plugin_grpctabletconn.go
- plugin_grpcvtgateservice.go
- plugin_opentracing.go
- plugin_opentsdb.go
- plugin_prometheusbackend.go
- plugin_statsd.go
- plugin_zk2topo.go
- status.go
Click to show internal directories.
Click to hide internal directories.