HBASE-4059 If a region is split during RS shutdown process, the daughter
regions are NOT made online by master git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1143505 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8b2948bd62
commit
be7cee5901
|
@ -146,6 +146,8 @@ Release 0.91.0 - Unreleased
|
|||
all tests - TestFullLogReconstruction
|
||||
HBASE-4051 [Coprocessors] Table coprocessor loaded twice when region is
|
||||
initialized
|
||||
HBASE-4059 If a region is split during RS shutdown process, the daughter
|
||||
regions are NOT made online by master
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||
|
|
|
@ -173,7 +173,7 @@ public class ServerShutdownHandler extends EventHandler {
|
|||
throw new IOException("Interrupted", e);
|
||||
} catch (IOException ioe) {
|
||||
LOG.info("Received exception accessing META during server shutdown of " +
|
||||
serverName + ", retrying META read");
|
||||
serverName + ", retrying META read", ioe);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -327,6 +327,11 @@ public class ServerShutdownHandler extends EventHandler {
|
|||
LOG.warn("No serialized HRegionInfo in " + r);
|
||||
return true;
|
||||
}
|
||||
byte [] value = r.getValue(HConstants.CATALOG_FAMILY,
|
||||
HConstants.SERVER_QUALIFIER);
|
||||
// See if daughter is assigned to some server
|
||||
if (value == null) return false;
|
||||
|
||||
// Now see if we have gone beyond the daughter's startrow.
|
||||
if (!Bytes.equals(daughter.getTableName(),
|
||||
hri.getTableName())) {
|
||||
|
|
Loading…
Reference in New Issue