hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1581088 - /hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
Date Mon, 24 Mar 2014 22:13:38 GMT
Author: stack
Date: Mon Mar 24 22:13:37 2014
New Revision: 1581088

URL: http://svn.apache.org/r1581088
Log:
HBASE-10802 CellComparator.compareStaticIgnoreMvccVersion compares type wrongly

Modified:
    hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java

Modified: hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java?rev=1581088&r1=1581087&r2=1581088&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
(original)
+++ hbase/branches/0.96/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
Mon Mar 24 22:13:37 2014
@@ -201,7 +201,7 @@ public class CellComparator implements C
     if (c != 0) return c;
 
     //type
-    c = (0xff & a.getTypeByte()) - (0xff & b.getTypeByte());
+    c = (0xff & b.getTypeByte()) - (0xff & a.getTypeByte());
     return c;
   }
 



Mime
View raw message