hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r929856 - in /hadoop/hbase/trunk: CHANGES.txt core/src/main/java/org/apache/hadoop/hbase/master/RegionManager.java
Date Thu, 01 Apr 2010 06:20:43 GMT
Author: stack
Date: Thu Apr  1 06:20:43 2010
New Revision: 929856

URL: http://svn.apache.org/viewvc?rev=929856&view=rev
Log:
HBASE-2365 Double-assignment around split

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/master/RegionManager.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=929856&r1=929855&r2=929856&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Thu Apr  1 06:20:43 2010
@@ -257,7 +257,10 @@ Release 0.21.0 - Unreleased
    HBASE-2358  Store doReconstructionLog will fail if oldlogfile.log is empty
                and won't load region (Cosmin Lehene via Stack)
    HBASE-2370  saveVersion.sh doesnt properly grab the git revision
+   HBASE-2373  Remove confusing log message of how "BaseScanner GET got
+               different address/startcode than SCAN"
    HBASE-2361  WALEdit broke replication scope
+   HBASE-2365  Double-assignment around split
 
   IMPROVEMENTS
    HBASE-1760  Cleanup TODOs in HTable

Modified: hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/master/RegionManager.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/master/RegionManager.java?rev=929856&r1=929855&r2=929856&view=diff
==============================================================================
--- hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/master/RegionManager.java
(original)
+++ hadoop/hbase/trunk/core/src/main/java/org/apache/hadoop/hbase/master/RegionManager.java
Thu Apr  1 06:20:43 2010
@@ -960,7 +960,7 @@ public class RegionManager implements HC
         regionsInTransition.put(info.getRegionNameAsString(), s);
       }
     }
-    if (force || (!s.isPendingOpen() || !s.isOpen())) {
+    if (force || (!s.isPendingOpen() && !s.isOpen())) {
       s.setUnassigned();
     }
   }



Mime
View raw message