cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2960) replication_factor > 1 always causes cassandra to return null
Date Sun, 31 Jul 2011 03:58:10 GMT

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

Jonathan Ellis updated CASSANDRA-2960:
--------------------------------------

    Attachment: 2960.txt

patch to raise an exception instead of ignoring replication_factor option in NTS.

> replication_factor > 1 always causes cassandra to return null
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-2960
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2960
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.2
>         Environment: Ubuntu 11.04
>            Reporter: Steve Corona
>         Attachments: 2960.txt
>
>
> On a brand new cluster:
> 	
> [default@SimpleTest] create keyspace SimpleTest2 with strategy_options = [{replication_factor:3}];
             
> 16babc60-b886-11e0-0000-c9ff69cb2dfb
> Waiting for schema agreement...
> ... schemas agree across the cluster
> [default@SimpleTest] use SimpleTest2;
> Authenticated to keyspace: SimpleTest2
> [default@SimpleTest2] create column family CFTest with comparator=UTF8Type and default_validation_class=UTF8Type;
> 1f108660-b886-11e0-0000-c9ff69cb2dfb
> Waiting for schema agreement...
> ... schemas agree across the cluster
> [default@SimpleTest2] set CFTest['1']['text'] = 'test';
> null
> [default@SimpleTest2] get CFTest['1'];
> null
> [default@SimpleTest2] list CFTest;
> Using default limit of 100
> null
> [default@SimpleTest2] describe cluster;
> Cluster Information:
>    Snitch: org.apache.cassandra.locator.SimpleSnitch
>    Partitioner: org.apache.cassandra.dht.RandomPartitioner
>    Schema versions: 
> 	1f108660-b886-11e0-0000-c9ff69cb2dfb: [10.60.98.20, 10.60.98.24, 10.60.98.26]

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message