Skip to content

HBASE-30445 (branch-2) RegionStates may has some expired serverinfo and make regions do not balance. - #8729

Open
d-c-manning wants to merge 1 commit into
apache:branch-2from
d-c-manning:HBASE-30445
Open

d-c-manning wants to merge 1 commit into
apache:branch-2from
d-c-manning:HBASE-30445

Conversation

@d-c-manning

@d-c-manning d-c-manning commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

HBASE-30445

3.0 branch has deviated from 2.x branch in a way that appears unintentional. Because HBASE-23102 was backported later, it touched the line in an unexpected way, reverting back to the original code. The balancer should provide its baseline of available servers from onlineServers instead of serverMap.keySet().

This issue intends to bring 2.x branches back in line with 3.x branches.

3.0 branch history:

HBASE-22523 adds as serverMap.keySet(): 04e5bf9#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R552-R556
HBASE-23102 does not touch the line : a3efa59#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R557
HBASE-23564 changes to onlineServers: ab40b96#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R562

2.x branch history:

HBASE-22523 adds as serverMap.keySet(): 14041b3#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R552-R556
HBASE-23564 changes to onlineServers: 7a0e4d8#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R563
HBASE-23102 changes back to serverMap.keySet(): 3b6d8c3#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R585

@virajjasani
virajjasani self-requested a review October 1, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant