HBASE-17682 Region stuck in merging_new state indefinitely
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
4605aabe08
commit
c90d484f61
|
@ -660,7 +660,7 @@ public class RegionStates {
|
||||||
LOG.info("Found region in " + state +
|
LOG.info("Found region in " + state +
|
||||||
" to be reassigned by ServerCrashProcedure for " + sn);
|
" to be reassigned by ServerCrashProcedure for " + sn);
|
||||||
rits.add(hri);
|
rits.add(hri);
|
||||||
} else if (isOneOfStates(state, State.SPLITTING_NEW)) {
|
} else if (isOneOfStates(state, State.SPLITTING_NEW, State.MERGING_NEW)) {
|
||||||
regionsToCleanIfNoMetaEntry.add(state.getRegion());
|
regionsToCleanIfNoMetaEntry.add(state.getRegion());
|
||||||
} else {
|
} else {
|
||||||
LOG.warn("THIS SHOULD NOT HAPPEN: unexpected " + state);
|
LOG.warn("THIS SHOULD NOT HAPPEN: unexpected " + state);
|
||||||
|
|
Loading…
Reference in New Issue