Author: slebresne Date: Tue Oct 4 13:49:35 2011 New Revision: 1178785 URL: http://svn.apache.org/viewvc?rev=1178785&view=rev Log: Fix stress COUNTER_GET options patch by slebresne; reviewed by jbellis for CASSANDRA-3301
Modified: cassandra/branches/cassandra-0.8/CHANGES.txt cassandra/branches/cassandra-0.8/tools/stress/src/org/apache/cassandra/stress/operations/CounterGetter.java Modified: cassandra/branches/cassandra-0.8/CHANGES.txt URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/CHANGES.txt?rev=1178785&r1=1178784&r2=1178785&view=diff ============================================================================== --- cassandra/branches/cassandra-0.8/CHANGES.txt (original) +++ cassandra/branches/cassandra-0.8/CHANGES.txt Tue Oct 4 13:49:35 2011 @@ -20,6 +20,7 @@ before falling back to random replica (CASSANDRA-3211) * Fix bug where the failure detector can take too long to mark a host down (CASSANDRA-3273) + * Fix stress COUNTER_GET option (CASSANDRA-3301) 0.8.6 Modified: cassandra/branches/cassandra-0.8/tools/stress/src/org/apache/cassandra/stress/operations/CounterGetter.java URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/tools/stress/src/org/apache/cassandra/stress/operations/CounterGetter.java?rev=1178785&r1=1178784&r2=1178785&view=diff ============================================================================== --- cassandra/branches/cassandra-0.8/tools/stress/src/org/apache/cassandra/stress/operations/CounterGetter.java (original) +++ cassandra/branches/cassandra-0.8/tools/stress/src/org/apache/cassandra/stress/operations/CounterGetter.java Tue Oct 4 13:49:35 2011 @@ -64,7 +64,7 @@ public class CounterGetter extends Opera for (int j = 0; j < session.getSuperColumns(); j++) { String superColumn = 'S' + Integer.toString(j); - ColumnParent parent = new ColumnParent("CounterSuper1").setSuper_column(superColumn.getBytes()); + ColumnParent parent = new ColumnParent("SuperCounter1").setSuper_column(superColumn.getBytes()); long start = System.currentTimeMillis();