Author: brandonwilliams
Date: Thu Jul 29 21:17:07 2010
New Revision: 980582

URL: http://svn.apache.org/viewvc?rev=980582&view=rev
Log:
Fix range slices of supercolumns in stress.py

Modified:
    cassandra/trunk/contrib/py_stress/stress.py

Modified: cassandra/trunk/contrib/py_stress/stress.py
URL: 
http://svn.apache.org/viewvc/cassandra/trunk/contrib/py_stress/stress.py?rev=980582&r1=980581&r2=980582&view=diff
==============================================================================
--- cassandra/trunk/contrib/py_stress/stress.py (original)
+++ cassandra/trunk/contrib/py_stress/stress.py Thu Jul 29 21:17:07 2010
@@ -266,7 +266,7 @@ class RangeSlicer(Operation):
                 keyrange = KeyRange(fmt % current, fmt % last, count = 
options.rangecount)
                 res = []
                 for j in xrange(supers_per_key):
-                    parent = ColumnParent('Super1', chr(ord('A') + j)) 
+                    parent = ColumnParent('Super1', 'S' + str(j)) 
                     begin = time.time()
                     try:
                         res = self.cclient.get_range_slices(parent, p, 
keyrange, consistency)


Reply via email to