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
Open
HBASE-30445 (branch-2) RegionStates may has some expired serverinfo and make regions do not balance.#8729d-c-manning wants to merge 1 commit into
d-c-manning wants to merge 1 commit into
Conversation
…nd make regions do not balance.
virajjasani
self-requested a review
October 1, 2026 20:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
onlineServersinstead ofserverMap.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-R556HBASE-23102 does not touch the line : a3efa59#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R557
HBASE-23564 changes to
onlineServers: ab40b96#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R5622.x branch history:
HBASE-22523 adds as
serverMap.keySet(): 14041b3#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R552-R556HBASE-23564 changes to
onlineServers: 7a0e4d8#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R563HBASE-23102 changes back to
serverMap.keySet(): 3b6d8c3#diff-96d9ec3583f3683e032c43a8f2561e06888bf1fe5eb4e818b3fae47b379ef196R585