Skip to content

adds support for splitting tablets with walogs#3914

Merged
keith-turner merged 3 commits into
apache:elasticityfrom
keith-turner:accumulo-3844
Feb 21, 2024
Merged

adds support for splitting tablets with walogs#3914
keith-turner merged 3 commits into
apache:elasticityfrom
keith-turner:accumulo-3844

Conversation

@keith-turner
Copy link
Copy Markdown
Contributor

Updates the FATE operations that split tablets to handle walogs. These changes should wait for a tablet with walogs to recover before proceeding. The changes to actually make recovery happen were already done in #3904 with changes to TabletGoalState.compute(). This change is a WIP because it depends on #3847 and needs those changes to be complete.

fixes #3844

Updates the FATE operations that split tablets to handle walogs.  These
changes should wait for a tablet with walogs to recover before
proceeding.  The changes to actually make recovery happen were already
done in apache#3904 with changes to TabletGoalState.compute().  This change is
a WIP because it depends on apache#3847 and needs those changes to be
complete.

fixes apache#3844
@keith-turner keith-turner linked an issue Oct 31, 2023 that may be closed by this pull request
@keith-turner
Copy link
Copy Markdown
Contributor Author

Merged in elasticity with the changes from #3948 and can now take this out of draft.

@keith-turner keith-turner marked this pull request as ready for review November 16, 2023 20:08
@keith-turner keith-turner changed the title WIP adds support for splitting tablets with walogs adds support for splitting tablets with walogs Dec 22, 2023
Copy link
Copy Markdown
Contributor

@cshannon cshannon left a comment

Choose a reason for hiding this comment

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

This looks good the only thing I noticed is I think we may be able to remove some of the validation checks now that seem redundant with conditional mutations such as in MergeTablets:

Preconditions.checkState(tabletMeta.getLogs().isEmpty(),

@keith-turner
Copy link
Copy Markdown
Contributor Author

This looks good the only thing I noticed is I think we may be able to remove some of the validation checks now that seem redundant with conditional mutations such as in MergeTablets

Those validations are still useful as they check the expected state when reading tablets in addition to when writing.

@keith-turner keith-turner merged commit 08cdb0e into apache:elasticity Feb 21, 2024
@keith-turner keith-turner deleted the accumulo-3844 branch February 21, 2024 20:21
@ctubbsii ctubbsii added this to the 4.0.0 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Can not split tablets with write ahead logs

4 participants