accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1199383 - /incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/data/KeyExtent.java
Date Tue, 08 Nov 2011 18:46:34 GMT
Author: ecn
Date: Tue Nov  8 18:46:34 2011
New Revision: 1199383

URL: http://svn.apache.org/viewvc?rev=1199383&view=rev
Log:
ACCUMULO-128 computed tablet row range poorly when the end row is empty

Modified:
    incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/data/KeyExtent.java

Modified: incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/data/KeyExtent.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/data/KeyExtent.java?rev=1199383&r1=1199382&r2=1199383&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/data/KeyExtent.java
(original)
+++ incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/data/KeyExtent.java
Tue Nov  8 18:46:34 2011
@@ -604,7 +604,7 @@ public class KeyExtent implements Writab
       metadataPrevRow.append(getPrevEndRow().getBytes(), 0, getPrevEndRow().getLength());
     }
     
-    Range range = new Range(metadataPrevRow, false, getMetadataEntry(), true);
+    Range range = new Range(metadataPrevRow, getPrevEndRow() == null, getMetadataEntry(),
true);
     return range;
   }
   



Mime
View raw message