HBASE-19915 (addendum): Fixed a typo because of which only daughterA was 
getting stored with a CLOSED state and not daughterB


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

Branch: refs/heads/HBASE-19397-branch-2
Commit: 5905415f9c909f7693ec37f08cadc3071e132dc9
Parents: e69c1fd
Author: Umesh Agashe <uaga...@cloudera.com>
Authored: Mon Feb 5 14:53:29 2018 -0800
Committer: Apekshit Sharma <a...@apache.org>
Committed: Mon Feb 5 15:41:28 2018 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/5905415f/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
----------------------------------------------------------------------
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
index 5dc0565..dad9aef 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
@@ -1759,7 +1759,7 @@ public class MetaTableAccessor {
       // master tries to assign these offline regions. This is followed by 
re-assignments of the
       // daughter regions from resumed {@link SplitTableRegionProcedure}
       addRegionStateToPut(putA, RegionState.State.CLOSED);
-      addRegionStateToPut(putA, RegionState.State.CLOSED);
+      addRegionStateToPut(putB, RegionState.State.CLOSED);
 
       addSequenceNum(putA, 1, -1, splitA.getReplicaId()); //new regions, 
openSeqNum = 1 is fine.
       addSequenceNum(putB, 1, -1, splitB.getReplicaId());

Reply via email to