Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-2960

replication_factor > 1 always causes cassandra to return null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8.3
    • None
    • None
    • Ubuntu 11.04

    • Low

    Description

      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]

      Attachments

        1. 2960.txt
          0.8 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            stevecorona Steve Corona
            Jonathan Ellis
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: