Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ protected Procedure<MasterProcedureEnv>[] execute(MasterProcedureEnv env)

RegionStates regionStates = env.getAssignmentManager().getRegionStates();
RegionStateNode regionNode = regionStates.getRegionStateNode(region);
if (regionNode == null) {
LOG.debug(
"Region {} is not in region states, it is very likely that it has been cleared by other procedures such as merge or split, so skip {}. See HBASE-28226",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is too long, please split it so we can avoid the checkstyle warning? The maximum length for HBase is 100.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the reminder, I have split it into two lines.

region, this);
return null;
}
regionNode.lock();
try {
if (!regionNode.isInState(State.OPEN) || regionNode.isInTransition()) {
Expand Down