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
Query(session, fmt.Sprintf("CREATE KEYSPACE IF NOT EXISTS %s WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy', 'replication_factor' : %d }", keyspaceName, replicationFactor))
122
+
Query(
123
+
session,
124
+
fmt.Sprintf("CREATE KEYSPACE IF NOT EXISTS %s WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy', 'replication_factor' : %d }", keyspaceName, replicationFactor),
125
+
)
124
126
125
127
switchmode {
126
128
case"counter_update":
@@ -315,7 +317,12 @@ func main() {
315
317
flag.BoolVar(&provideUpperBound, "provide-upper-bound", false, "whether read requests should provide an upper bound")
316
318
flag.BoolVar(&inRestriction, "in-restriction", false, "use IN restriction in read requests")
317
319
//nolint:lll
318
-
flag.StringVar(&selectOrderBy, "select-order-by", "none", "controls order part 'order by ck asc/desc' of the read query, you can set it to: none,asc,desc or to the list of them, i.e. 'none,asc', in such case it will run queries with these orders one by one")
320
+
flag.StringVar(
321
+
&selectOrderBy,
322
+
"select-order-by",
323
+
"none",
324
+
"controls order part 'order by ck asc/desc' of the read query, you can set it to: none,asc,desc or to the list of them, i.e. 'none,asc', in such case it will run queries with these orders one by one",
325
+
)
319
326
flag.BoolVar(&noLowerBound, "no-lower-bound", false, "do not provide lower bound in read requests")
320
327
flag.BoolVar(&bypassCache, "bypass-cache", false, "Execute queries with the \"BYPASS CACHE\" CQL clause")
321
328
flag.IntVar(&rangeCount, "range-count", 1, "number of ranges to split the token space into (relevant only for scan mode)")
@@ -357,7 +364,12 @@ func main() {
357
364
flag.StringVar(&datacenter, "datacenter", "", "datacenter for the rack-aware policy")
358
365
//nolint:lll
359
366
flag.StringVar(&rack, "rack", "", "rack for the rack-aware policy")
360
-
flag.IntVar(&maxErrorsAtRow, "error-at-row-limit", 0, "set limit of errors caught by one thread at row after which workflow will be terminated and error reported. Set it to 0 if you want to haven no limit")
367
+
flag.IntVar(
368
+
&maxErrorsAtRow,
369
+
"error-at-row-limit",
370
+
0,
371
+
"set limit of errors caught by one thread at row after which workflow will be terminated and error reported. Set it to 0 if you want to haven no limit",
0 commit comments