[
https://issues.apache.org/jira/browse/CASSANDRA-9361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14540040#comment-14540040
]
Mario Lazaro edited comment on CASSANDRA-9361 at 5/12/15 3:31 PM:
------------------------------------------------------------------
Patch added.
was (Author: mariolazaro):
diff --git
a/tools/stress/src/org/apache/cassandra/stress/settings/SettingsCommand.java
b/tools/stress/src/org/apache/cassandra/stress/settings/SettingsCommand.java
index 60b4c09..0b55b44 100644
--- a/tools/stress/src/org/apache/cassandra/stress/settings/SettingsCommand.java
+++ b/tools/stress/src/org/apache/cassandra/stress/settings/SettingsCommand.java
@@ -119,7 +119,7 @@ public abstract class SettingsCommand implements
Serializable
{
final OptionSimple noWarmup = new OptionSimple("no-warmup", "", null,
"Do not warmup the process", false);
final OptionSimple truncate = new OptionSimple("truncate=",
"never|once|always", "never", "Truncate the table: never, before performing any
work, or before each iteration", false);
- final OptionSimple consistencyLevel = new OptionSimple("cl=",
"ONE|QUORUM|LOCAL_QUORUM|EACH_QUORUM|ALL|ANY", "ONE", "Consistency level to
use", false);
+ final OptionSimple consistencyLevel = new OptionSimple("cl=",
"ONE|QUORUM|LOCAL_QUORUM|EACH_QUORUM|ALL|ANY|TWO|THREE|SERIAL|LOCAL_SERIAL|LOCAL_ONE",
"ONE", "Consistency level to use", false);
}
> Add all possible consistency levels to Cassandra-Stress
> -------------------------------------------------------
>
> Key: CASSANDRA-9361
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9361
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Mario Lazaro
> Fix For: 2.1.x
>
> Attachments: patch.txt
>
>
> CASSANDRA-8253 added all of them but CASSANDRA-8769 delete some of them from
> CommandSettings.java
> Also notice the default consistency is set to ONE, I believe it'd be better
> if we use LOCAL_ONE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)