You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/10/01 00:32:25 UTC
[jira] [Resolved] (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 ]
Jonathan Ellis resolved CASSANDRA-5953.
---------------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 1.2.11)
Assignee: (was: Sylvain Lebresne)
Let's make the new behavior official; I can also think of scenarios where this behavior is useful.
> 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
> Components: Core
> Reporter: Jonathan Ellis
> Priority: Minor
>
> 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
(v6.1#6144)