cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1183000 - in /cassandra/branches/cassandra-0.7: CHANGES.txt src/java/org/apache/cassandra/db/ColumnIndexer.java
Date Thu, 13 Oct 2011 17:28:46 GMT
Author: jbellis
Date: Thu Oct 13 17:28:46 2011
New Revision: 1183000

URL: http://svn.apache.org/viewvc?rev=1183000&view=rev
Log:
fix ColumnIndexer to use long offsets
patch by Thomas Richter; reviewed by jbellis for CASSANDRA-3358

Modified:
    cassandra/branches/cassandra-0.7/CHANGES.txt
    cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/ColumnIndexer.java

Modified: cassandra/branches/cassandra-0.7/CHANGES.txt
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/CHANGES.txt?rev=1183000&r1=1182999&r2=1183000&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/CHANGES.txt (original)
+++ cassandra/branches/cassandra-0.7/CHANGES.txt Thu Oct 13 17:28:46 2011
@@ -1,6 +1,7 @@
 0.7.10
  * Fix divide by zero error in GCInspector (CASSANDRA-3164)
  * revert CASSANDRA-2388
+ * fix ColumnIndexer to use long offsets (CASSANDRA-3358)
 
 
 0.7.9

Modified: cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/ColumnIndexer.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/ColumnIndexer.java?rev=1183000&r1=1182999&r2=1183000&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/ColumnIndexer.java (original)
+++ cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/ColumnIndexer.java Thu
Oct 13 17:28:46 2011
@@ -70,7 +70,7 @@ public class ColumnIndexer
         // update bloom filter and create a list of IndexInfo objects marking the first and
last column
         // in each block of ColumnIndexSize
         List<IndexHelper.IndexInfo> indexList = new ArrayList<IndexHelper.IndexInfo>();
-        int endPosition = 0, startPosition = -1;
+        long endPosition = 0, startPosition = -1;
         int indexSizeInBytes = 0;
         IColumn lastColumn = null, firstColumn = null;
         for (IColumn column : columns)



Mime
View raw message