HBASE-2365 Double-assignment around split

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@929856 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-04-01 06:20:43 +00:00
parent 7784ad0762
commit 86335c9fb2
2 changed files with 4 additions and 1 deletions

View File

@ -257,7 +257,10 @@ Release 0.21.0 - Unreleased
HBASE-2358 Store doReconstructionLog will fail if oldlogfile.log is empty HBASE-2358 Store doReconstructionLog will fail if oldlogfile.log is empty
and won't load region (Cosmin Lehene via Stack) and won't load region (Cosmin Lehene via Stack)
HBASE-2370 saveVersion.sh doesnt properly grab the git revision 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-2361 WALEdit broke replication scope
HBASE-2365 Double-assignment around split
IMPROVEMENTS IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable HBASE-1760 Cleanup TODOs in HTable

View File

@ -960,7 +960,7 @@ public class RegionManager implements HConstants {
regionsInTransition.put(info.getRegionNameAsString(), s); regionsInTransition.put(info.getRegionNameAsString(), s);
} }
} }
if (force || (!s.isPendingOpen() || !s.isOpen())) { if (force || (!s.isPendingOpen() && !s.isOpen())) {
s.setUnassigned(); s.setUnassigned();
} }
} }