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

Java Stress Tool: COUNTER_GET reads from CounterSuper1 instead of SuperCounter1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 0.8.7, 1.0.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      Output from stress tool - COUNTER_ADD works fine bug COUNTER_GET does not

      ./stress --operation=COUNTER_ADD --family-type=Super --num-keys=1 --consistency-level=TWO --replication-factor=3 --nodes=cathy1
      Unable to create stress keyspace: Keyspace already exists.
      total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
      1,0,0,0.0060,0
      END
      
      
      ./stress --operation=COUNTER_GET --family-type=Super --num-keys=1 --consistency-level=QUORUM --nodes=cathy1
      total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time
      Operation [0] retried 10 times - error reading counter key 0 ((InvalidRequestException): unconfigured columnfamily CounterSuper1)
      
      0,0,0,NaN,0
      END
      

      The CF created is called SuperCounter1 and not CounterSuper1

       INFO 00:34:21,344 ColumnFamilyStore(table='Keyspace1', columnFamily='SuperCounter1') liveRatio is 9.167798032786886 (just-counted was 9.167798032786886).  calculation took 1281ms for 9883 columns
      

        Attachments

        1. 3301.patch
          1 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              cdaw Cathy Daw
              Authors:
              Sylvain Lebresne
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: