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

PITR: Integration with tablet splitting #8235

Closed
bmatican opened this issue Apr 29, 2021 · 1 comment
Closed

PITR: Integration with tablet splitting #8235

bmatican opened this issue Apr 29, 2021 · 1 comment
Assignees
Labels
area/docdb YugabyteDB core features

Comments

@bmatican
Copy link
Contributor

Rolling back to a point before a number of splits has a couple of implications we'll need to consider

  • extend lifetime of parent tablets
  • change tablet metadata state (be able to go from split completed back to running)
  • figure out tablet partition version, as MetaCache might not be ok with the version going back in time

Also, a bigger and more operational issue, is that keeping parent tablets around leads to space amplification! For every parent tablet, we double the space usage between it and children, as soon as the children finish the post-split compaction.

One option here could be to disable splitting, if space usage gets past some % of total disk capacity. This will be much easier after #8234

cc @ttyusupov @mbautin

@bmatican
Copy link
Contributor Author

Fixed as part of 6be74dc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features
Projects
None yet
Development

No branches or pull requests

2 participants