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

libroach: automatically compact files with too many range deletions #24057

Closed
wants to merge 1 commit into from

Conversation

benesch
Copy link
Contributor

@benesch benesch commented Mar 20, 2018

This anecdotally improves the situation in #24029 just a bit. The cluster still gets bricked, but there's hope of recovery without manually running ./cockroachdb debug compact, because RocksDB will automatically schedule a compaction for any SST with more than a few range deletion tombstones.

Mostly just a proof-of-concept.

Release note: None

@benesch benesch requested review from a team March 20, 2018 04:35
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@bdarnell
Copy link
Contributor

Looks good, but let's see if we can get a response from upstream first before we start making changes like this ourselves (especially if it doesn't fix the whole problem)


Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from Reviewable

@benesch
Copy link
Contributor Author

benesch commented Mar 20, 2018

Yeah, it doesn't come close to fully fixing the problem. The compactions can take quite a while to finish, and I haven't convinced myself that the bottommost compactions are even happening.

@benesch
Copy link
Contributor Author

benesch commented Dec 7, 2018

This has been taken over by Peter in #31975.

@benesch benesch closed this Dec 7, 2018
@benesch benesch deleted the range-deletions branch December 7, 2018 16:09
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.

None yet

3 participants