Apache9 commented on a change in pull request #2354:
URL: https://github.com/apache/hbase/pull/2354#discussion_r484263948
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.java
##########
@@ -88,7 +87,7 @@ protected Flow executeFromState(MasterProcedureEnv env,
GCMergedRegionsState sta
setNextState(GCMergedRegionsState.GC_REGION_EDIT_METADATA);
break;
case GC_REGION_EDIT_METADATA:
-
MetaTableAccessor.deleteMergeQualifiers(env.getMasterServices().getConnection(),
mergedChild);
+
env.getAssignmentManager().getRegionStateStore().deleteMergeQualifiers(mergedChild);
Review comment:
In real deploy, no. In tests we could have null assignmentmanager or
regionstatestore, but as the above pre commit is fine so I do not think it is a
problem here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]