You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tri Nguyen (Jira)" <ji...@apache.org> on 2021/06/16 13:29:00 UTC

[jira] [Created] (CASSANDRA-16747) Block creating keyspace with RF > Cassandra node count

Tri Nguyen created CASSANDRA-16747:
--------------------------------------

             Summary: Block creating keyspace with RF > Cassandra node count
                 Key: CASSANDRA-16747
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16747
             Project: Cassandra
          Issue Type: Improvement
          Components: Cluster/Schema
            Reporter: Tri Nguyen


 

Using Cassandra 3.11.10, 3 nodes cluster Cassandra allows to create a keyspace having `replication_factor` greater than the number of available nodes.

 
{code:java}
-- successfully created Keyspace with RF = 3 > node count = 3

CREATE KEYSPACE mykeyspace WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 5 };
{code}
From [this discussion|https://community.datastax.com/questions/11623/create-keyspace-with-rf-physical-cassandra-node-co.html] on community.datastax.com. It appears that this would lead to serious operational problems.

Would it be OK to improve the `CREATE KEYSPACE` to block (or display warning) when attempting to set `replication_factor` > node count?

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org