Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(1-1-restore): sets tombstone_gc mode to repair #4260

Draft
wants to merge 3 commits into
base: va/1-1-restore-views
Choose a base branch
from

Conversation

VAveryanov8
Copy link
Collaborator

@VAveryanov8 VAveryanov8 commented Feb 19, 2025

This sets tombstone_gc mode to 'repair' to avoid data resurrection.
If tables mode is already 'repair', 'disabled' or 'immediate', then it won't be changed.

I'm not 100% sure if it's a safe to leave 'immediate' unchanged, but from the docs seems ok.

P.S.
Also this adds skipping of local system tables - the same way we have in
regular restore service.

P.S.2 : )
I think it may turn out that we need to set tombstone gc mode to 'repair' for views as well. I've created #4261 to investigate this.


Please make sure that:

  • Code is split to commits that address a single change
  • Commit messages are informative
  • Commit titles have module prefix
  • Commit titles have issue nr. suffix

This adds skipping of local system tables - the same way we have in
regular restore service.
This sets tombstone_gc mode to 'repair' to avoid data resurrection.
If tables mode is already 'repair', 'disabled' or 'immediate', then it won't be changed.

Refs: #4258
@VAveryanov8 VAveryanov8 force-pushed the va/1-1-restore-alter-tombstone-gc branch from d643412 to 5cb0989 Compare February 20, 2025 09:20
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