hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1577765 - /hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
Date Sat, 15 Mar 2014 00:05:54 GMT
Author: apurtell
Date: Sat Mar 15 00:05:53 2014
New Revision: 1577765

URL: http://svn.apache.org/r1577765
Log:
HBASE-10749 CellComparator.compareStatic() compares type wrongly (Ramkrishna S. Vasudevan)

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

Modified: hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java?rev=1577765&r1=1577764&r2=1577765&view=diff
==============================================================================
--- hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java (original)
+++ hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java Sat
Mar 15 00:05:53 2014
@@ -86,7 +86,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());
     if (c != 0) return c;
 
     //mvccVersion: later sorts first



Mime
View raw message