Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AAFFB6677 for ; Wed, 27 Jul 2011 21:13:35 +0000 (UTC) Received: (qmail 55511 invoked by uid 500); 27 Jul 2011 21:13:35 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 55372 invoked by uid 500); 27 Jul 2011 21:13:35 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 55295 invoked by uid 99); 27 Jul 2011 21:13:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 21:13:34 +0000 X-ASF-Spam-Status: No, hits=-1997.6 required=5.0 tests=ALL_TRUSTED,FS_REPLICA,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 21:13:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CA4F08D963 for ; Wed, 27 Jul 2011 21:13:10 +0000 (UTC) Date: Wed, 27 Jul 2011 21:13:10 +0000 (UTC) From: "Steve Corona (JIRA)" To: commits@cassandra.apache.org Message-ID: <910653735.13402.1311801190825.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <400742355.13008.1311795489507.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2960) replication_factor > 1 always causes cassandra to return null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072013#comment-13072013 ] Steve Corona commented on CASSANDRA-2960: ----------------------------------------- Bingo, that's it- looks like on creating a new keyspace with replication_factor it's defaulting to NTS. [default@unknown] create keyspace SimpleTest12 with strategy_options = [{'replication_factor':'2'}]; [default@SimpleTest12] describe keyspace; Keyspace: SimpleTest12: Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy > 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 > > 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