mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
typo fixes
This commit is contained in:
@@ -78,17 +78,25 @@ public abstract class Cqld4CqlOp implements CycleOp<List<Row>>, VariableCapture,
|
||||
this.session = session;
|
||||
this.maxPages = maxPages;
|
||||
this.retryReplace = retryReplace;
|
||||
this.maxLwtRetries =maxLwtRetries;
|
||||
this.maxLwtRetries = maxLwtRetries;
|
||||
this.processors = processors;
|
||||
this.metrics = metrics;
|
||||
}
|
||||
|
||||
protected Cqld4CqlOp(CqlSession session, int maxPages, boolean retryReplace, int maxLwtRetries, int retryRplaceCount, RSProcessors processors) {
|
||||
protected Cqld4CqlOp(
|
||||
CqlSession session,
|
||||
int maxPages,
|
||||
boolean retryReplace,
|
||||
int maxLwtRetries,
|
||||
int retryReplaceCount,
|
||||
RSProcessors processors,
|
||||
CqlOpMetrics metrics
|
||||
) {
|
||||
this.session = session;
|
||||
this.maxPages = maxPages;
|
||||
this.retryReplace = retryReplace;
|
||||
this.maxLwtRetries =maxLwtRetries;
|
||||
this.retryReplaceCount=retryRplaceCount;
|
||||
this.maxLwtRetries = maxLwtRetries;
|
||||
this.retryReplaceCount = retryReplaceCount;
|
||||
this.processors = processors;
|
||||
this.metrics = metrics;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
description: |
|
||||
A cql-starter workload.
|
||||
A cql-starter workload.
|
||||
* Cassandra: 3.x, 4.x.
|
||||
* DataStax Enterprise: 6.8.x.
|
||||
* DataStax Astra.
|
||||
@@ -41,9 +41,9 @@ blocks:
|
||||
AND durable_writes = true;
|
||||
create-table: |
|
||||
create table if not exists <<keyspace:starter>>.<<table:cqlstarter>> (
|
||||
machine_id UUID,
|
||||
message text,
|
||||
time timestamp,
|
||||
machine_id UUID,
|
||||
message text,
|
||||
time timestamp,
|
||||
PRIMARY KEY ((machine_id), time)
|
||||
) WITH CLUSTERING ORDER BY (time DESC);
|
||||
|
||||
@@ -53,9 +53,9 @@ blocks:
|
||||
ops:
|
||||
create-table-astra: |
|
||||
create table if not exists <<keyspace:starter>>.<<table:cqlstarter>> (
|
||||
machine_id UUID,
|
||||
machine_id UUID,
|
||||
message text,
|
||||
time timestamp,
|
||||
time timestamp,
|
||||
PRIMARY KEY ((machine_id), time)
|
||||
) WITH CLUSTERING ORDER BY (time DESC);
|
||||
|
||||
@@ -65,7 +65,7 @@ blocks:
|
||||
idempotent: true
|
||||
ops:
|
||||
insert-rampup: |
|
||||
insert into <<keyspace:starter>>.<<table:cqlstarter>> (machine_id, message, time)
|
||||
insert into <<keyspace:starter>>.<<table:cqlstarter>> (machine_id, message, time)
|
||||
values ({machine_id}, {rampup_message}, {time}) using timestamp {ts};
|
||||
|
||||
rampdown:
|
||||
@@ -89,4 +89,4 @@ blocks:
|
||||
ops:
|
||||
insert-main: |
|
||||
insert into <<keyspace:starter>>.<<table:cqlstarter>>
|
||||
(machine_id, message, time) values ({machine_id}, {message}, {time}) using timestamp {ts};
|
||||
(machine_id, message, time) values ({machine_id}, {message}, {time}) using timestamp {ts};
|
||||
|
||||
Reference in New Issue
Block a user