mirror of https://github.com/apache/cassandra
ninja - don't use non-durable keyspace params for witnesses
This commit is contained in:
parent
e66fb9eb0d
commit
f8eb131aa4
|
|
@ -141,7 +141,7 @@ public final class KeyspaceParams
|
|||
|
||||
public static KeyspaceParams simpleWitness(String replicationFactor)
|
||||
{
|
||||
return new KeyspaceParams(false, ReplicationParams.simple(replicationFactor), FastPathStrategy.simple(), ReplicationType.tracked);
|
||||
return new KeyspaceParams(true, ReplicationParams.simple(replicationFactor), FastPathStrategy.simple(), ReplicationType.tracked);
|
||||
}
|
||||
|
||||
public static KeyspaceParams simpleTransient(int replicationFactor)
|
||||
|
|
|
|||
Loading…
Reference in New Issue