hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject hbase git commit: HBASE-17682 Region stuck in merging_new state indefinitely
Date Thu, 23 Feb 2017 23:25:29 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 4605aabe0 -> c90d484f6


HBASE-17682 Region stuck in merging_new state indefinitely

Signed-off-by: Andrew Purtell <apurtell@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c90d484f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c90d484f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c90d484f

Branch: refs/heads/master
Commit: c90d484f617a52b2312e44b23be186008908da4d
Parents: 4605aab
Author: Abhishek Singh Chouhan <abhishekchouhan121@gmail.com>
Authored: Thu Feb 23 19:39:08 2017 +0530
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu Feb 23 15:30:17 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/master/RegionStates.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c90d484f/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
index 09d5190..4125eea 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
@@ -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);


Mime
View raw message