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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to