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(table): Add onDisk size #1569

Merged
merged 5 commits into from
Nov 2, 2020
Merged

fix(table): Add onDisk size #1569

merged 5 commits into from
Nov 2, 2020

Conversation

jarifibrahim
Copy link
Contributor

@jarifibrahim jarifibrahim commented Oct 16, 2020

This PR adds onDisk size to the table index


This change is Reviewable

@@ -437,6 +436,8 @@ func (b *Builder) Finish(allocate bool) []byte {
b.sz = dstLen
}

// b.sz is the total size of the compressed table without the index.
b.onDiskSize += b.sz
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Include index size as well.

@jarifibrahim
Copy link
Contributor Author

Reviewed by @manishrjain

@jarifibrahim jarifibrahim merged commit cd98408 into master Nov 2, 2020
@jarifibrahim jarifibrahim deleted the ibrahim/on-disk branch November 2, 2020 09:13
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.

1 participant