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

This commit is contained in:
Umesh Agashe 2018-02-05 14:53:29 -08:00 committed by Apekshit Sharma
parent 8de820786c
commit 6d04aa1794
1 changed files with 1 additions and 1 deletions

View File

@ -1759,7 +1759,7 @@ public class MetaTableAccessor {
// master tries to assign these offline regions. This is followed by re-assignments of the // master tries to assign these offline regions. This is followed by re-assignments of the
// daughter regions from resumed {@link SplitTableRegionProcedure} // daughter regions from resumed {@link SplitTableRegionProcedure}
addRegionStateToPut(putA, RegionState.State.CLOSED); 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(putA, 1, -1, splitA.getReplicaId()); //new regions, openSeqNum = 1 is fine.
addSequenceNum(putB, 1, -1, splitB.getReplicaId()); addSequenceNum(putB, 1, -1, splitB.getReplicaId());