Repository navigation
HBASE-30353: Prevent split parent regions from being re-opened - #8849
Draft
tanyastickles wants to merge 2 commits into
Draft
tanyastickles wants to merge 2 commits into
tanyastickles wants to merge 2 commits into
Conversation
Co-authored-by: Tanya Stickles <tstickles@hubspot.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off by: Charles Connell <cconnell@apache.org> Signed-off by: Wellington Ramos Chevreuil <wchevreuil@apache.org> (cherry picked from commit 71a127e) Backport adjustments for branch-2: the SPLIT state is written in MetaTableAccessor.splitRegion (RegionStateStore delegates to it here), and the tests are adapted to branch-2 APIs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
testRITWithSplitTableRegion expires a region server and restarts the master. The next test's setup() then walked the live region server threads and called getCompactSplitThread() on each, but a server that is still shutting down has already nulled its CompactSplit thread, causing an NPE in @beforeeach. Persisting SPLIT for the split parent made this fail in 3 of 4 runs on branch-2; skip stopped servers instead. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Issue: https://issues.apache.org/jira/browse/HBASE-30353
This change has already been merged in master. We are backporting the changes onto branch-2.
From the original PR:
We ran into an issue where a split parent region came back online.
What happened was: