You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/18 11:07:00 UTC

[jira] [Updated] (CASSANDRA-5953) Replication validation should reject RF > nodes in cluster

     [ https://issues.apache.org/jira/browse/CASSANDRA-5953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CASSANDRA-5953:
--------------------------------------
    Labels: pull-request-available  (was: )

> Replication validation should reject RF > nodes in cluster
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-5953
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5953
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Priority: Minor
>              Labels: pull-request-available
>
> On my local, single node cluster, RF=3 inserts should not succeed:
> {noformat}
> cqlsh> CREATE KEYSPACE mykeyspace WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 };
> cqlsh> use mykeyspace ;
> cqlsh:mykeyspace> CREATE TABLE users (
>               ...   user_id int PRIMARY KEY, 
>               ...   fname text, 
>               ...   lname text
>               ... );
> cqlsh:mykeyspace> INSERT INTO users (user_id,  fname, lname) 
>               ...   VALUES (1745, 'john', 'smith');
> cqlsh:mykeyspace> select * from users;
>  user_id | fname | lname
> ---------+-------+-------
>     1745 |  john | smith
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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