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

fix(compaction): fix table size estimation on compaction #1613

Merged
merged 2 commits into from
Dec 7, 2020

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Dec 7, 2020

Copying the description from #1601.
If a table has a mixture of value log pointers and embedded values, badger will carry over the last length from a value log entry into the subsequent embedded entries. I think this misestimates table size on compaction.


This change is Reviewable

raulk and others added 2 commits November 20, 2020 13:29
If a table has a mixture of value log pointers and embedded values,
badger will carry over the last length from a value log entry into
the subsequent embedded entries.
@NamanJain8 NamanJain8 merged commit f492aa3 into master Dec 7, 2020
@NamanJain8 NamanJain8 deleted the naman/reset-vp branch December 7, 2020 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants