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
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtbackup.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ Flags:
206
206
--stderrthreshold severityFlag logs at or above this threshold go to stderr (default 1)
207
207
--tablet_manager_grpc_ca string the server ca to use to validate servers when connecting
208
208
--tablet_manager_grpc_cert string the cert to use to connect
209
-
--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)
209
+
--tablet_manager_grpc_concurrency int concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,App} and CheckThrottler) (default 8)
210
210
--tablet_manager_grpc_connpool_size int number of tablets to keep tmclient connections open to (default 100)
211
211
--tablet_manager_grpc_crl string the server crl to use to validate server certificates when connecting
212
212
--tablet_manager_grpc_key string the key to use to connect
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtcombo.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -343,7 +343,7 @@ Flags:
343
343
--tablet_hostname string if not empty, this hostname will be assumed instead of trying to resolve it
344
344
--tablet_manager_grpc_ca string the server ca to use to validate servers when connecting
345
345
--tablet_manager_grpc_cert string the cert to use to connect
346
-
--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)
346
+
--tablet_manager_grpc_concurrency int concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,App} and CheckThrottler) (default 8)
347
347
--tablet_manager_grpc_connpool_size int number of tablets to keep tmclient connections open to (default 100)
348
348
--tablet_manager_grpc_crl string the server crl to use to validate server certificates when connecting
349
349
--tablet_manager_grpc_key string the key to use to connect
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtctld.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ Flags:
139
139
--tablet_health_keep_alive duration close streaming tablet health connection if there are no requests for this long (default 5m0s)
140
140
--tablet_manager_grpc_ca string the server ca to use to validate servers when connecting
141
141
--tablet_manager_grpc_cert string the cert to use to connect
142
-
--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)
142
+
--tablet_manager_grpc_concurrency int concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,App} and CheckThrottler) (default 8)
143
143
--tablet_manager_grpc_connpool_size int number of tablets to keep tmclient connections open to (default 100)
144
144
--tablet_manager_grpc_crl string the server crl to use to validate server certificates when connecting
145
145
--tablet_manager_grpc_key string the key to use to connect
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtorc.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ Flags:
81
81
--table-refresh-interval int interval in milliseconds to refresh tables in status page with refreshRequired class
82
82
--tablet_manager_grpc_ca string the server ca to use to validate servers when connecting
83
83
--tablet_manager_grpc_cert string the cert to use to connect
84
-
--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)
84
+
--tablet_manager_grpc_concurrency int concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,App} and CheckThrottler) (default 8)
85
85
--tablet_manager_grpc_connpool_size int number of tablets to keep tmclient connections open to (default 100)
86
86
--tablet_manager_grpc_crl string the server crl to use to validate server certificates when connecting
87
87
--tablet_manager_grpc_key string the key to use to connect
Copy file name to clipboardExpand all lines: go/flags/endtoend/vttablet.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -350,7 +350,7 @@ Flags:
350
350
--tablet_hostname string if not empty, this hostname will be assumed instead of trying to resolve it
351
351
--tablet_manager_grpc_ca string the server ca to use to validate servers when connecting
352
352
--tablet_manager_grpc_cert string the cert to use to connect
353
-
--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)
353
+
--tablet_manager_grpc_concurrency int concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,App} and CheckThrottler) (default 8)
354
354
--tablet_manager_grpc_connpool_size int number of tablets to keep tmclient connections open to (default 100)
355
355
--tablet_manager_grpc_crl string the server crl to use to validate server certificates when connecting
356
356
--tablet_manager_grpc_key string the key to use to connect
Copy file name to clipboardExpand all lines: go/flags/endtoend/vttestserver.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ Flags:
119
119
--tablet_hostname string The hostname to use for the tablet otherwise it will be derived from OS' hostname (default "localhost")
120
120
--tablet_manager_grpc_ca string the server ca to use to validate servers when connecting
121
121
--tablet_manager_grpc_cert string the cert to use to connect
122
-
--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)
122
+
--tablet_manager_grpc_concurrency int concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,App} and CheckThrottler) (default 8)
123
123
--tablet_manager_grpc_connpool_size int number of tablets to keep tmclient connections open to (default 100)
124
124
--tablet_manager_grpc_crl string the server crl to use to validate server certificates when connecting
125
125
--tablet_manager_grpc_key string the key to use to connect
Copy file name to clipboardExpand all lines: go/vt/vttablet/grpctmclient/client.go
+31-14Lines changed: 31 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ var (
55
55
)
56
56
57
57
funcregisterFlags(fs*pflag.FlagSet) {
58
-
fs.IntVar(&concurrency, "tablet_manager_grpc_concurrency", concurrency, "concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,AllPrivs,App})")
58
+
fs.IntVar(&concurrency, "tablet_manager_grpc_concurrency", concurrency, "concurrency to use to talk to a vttablet server for performance-sensitive RPCs (like ExecuteFetchAs{Dba,App} and CheckThrottler)")
59
59
fs.StringVar(&cert, "tablet_manager_grpc_cert", cert, "the cert to use to connect")
60
60
fs.StringVar(&key, "tablet_manager_grpc_key", key, "the key to use to connect")
61
61
fs.StringVar(&ca, "tablet_manager_grpc_ca", ca, "the server ca to use to validate servers when connecting")
@@ -94,10 +94,9 @@ type tmc struct {
94
94
95
95
// grpcClient implements both dialer and poolDialer.
96
96
typegrpcClientstruct {
97
-
// This cache of connections is to maximize QPS for ExecuteFetch.
98
-
// Note we'll keep the clients open and close them upon Close() only.
99
-
// But that's OK because usually the tasks that use them are
100
-
// one-purpose only.
97
+
// This cache of connections is to maximize QPS for ExecuteFetchAs{Dba,App} and
98
+
// CheckThrottler. Note we'll keep the clients open and close them upon Close() only.
99
+
// But that's OK because usually the tasks that use them are one-purpose only.
0 commit comments