You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2011/11/08 19:46:34 UTC

svn commit: r1199383 - /incubator/accumulo/branches/1.3/src/core/src/main/java/org/apache/accumulo/core/data/KeyExtent.java

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;
   }