HBASE-17682 Region stuck in merging_new state indefinitely

Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
Abhishek Singh Chouhan 2017-02-23 19:39:08 +05:30 committed by Andrew Purtell
parent 4605aabe08
commit c90d484f61
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ public class RegionStates {
LOG.info("Found region in " + state +
" to be reassigned by ServerCrashProcedure for " + sn);
rits.add(hri);
} else if (isOneOfStates(state, State.SPLITTING_NEW)) {
} else if (isOneOfStates(state, State.SPLITTING_NEW, State.MERGING_NEW)) {
regionsToCleanIfNoMetaEntry.add(state.getRegion());
} else {
LOG.warn("THIS SHOULD NOT HAPPEN: unexpected " + state);