hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1212261 - in /hbase/branches/0.92: CHANGES.txt src/main/java/org/apache/hadoop/hbase/HRegionInfo.java
Date Fri, 09 Dec 2011 06:46:02 GMT
Author: stack
Date: Fri Dec  9 06:46:01 2011
New Revision: 1212261

URL: http://svn.apache.org/viewvc?rev=1212261&view=rev
Log:
HBASE-4969 tautology in HRegionInfo.readFields

Modified:
    hbase/branches/0.92/CHANGES.txt
    hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java

Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1212261&r1=1212260&r2=1212261&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Fri Dec  9 06:46:01 2011
@@ -469,6 +469,7 @@ Release 0.92.0 - Unreleased
                (Shrijeet Paliwal)
    HBASE-4946  HTable.coprocessorExec (and possibly coprocessorProxy) does not work with
                dynamically loaded coprocessors (Andrei Dragomir)
+   HBASE-4969  tautology in HRegionInfo.readFields (Prakash Khemani)
 
   TESTS
    HBASE-4492  TestRollingRestart fails intermittently

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java?rev=1212261&r1=1212260&r2=1212261&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java Fri Dec  9
06:46:01 2011
@@ -737,7 +737,7 @@ implements WritableComparable<HRegionInf
          throw new IOException("HTD not found in input buffer", eofe);
       }
       this.hashCode = in.readInt();
-    } else if (getVersion() == VERSION) {
+    } else if (getVersion() == version) {
       this.endKey = Bytes.readByteArray(in);
       this.offLine = in.readBoolean();
       this.regionId = in.readLong();



Mime
View raw message