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

PCP-23-1: Update blob file format to accommodate zstd dictionary #108

Closed
yiwu-arbug opened this issue Nov 15, 2019 · 1 comment

Comments

@yiwu-arbug
Copy link
Collaborator

@yiwu-arbug yiwu-arbug commented Nov 15, 2019

This is subtask of tikv/tikv#5743.

We need to add a new version to blob file format. If version = 2, it means the blob file come with a zstd dictionary and the dictionary is stored in the meta section (pointed by meta index handle in the footer). Update BlobFileHeader and BlobFileFooter and their comments accordingly.

Also update BlobEncoder and BlobDecoder to allow passing in a dictionary and use it to compress/decompress. Add unit test for it.

This should be a good warmup task for you to get familiar with Titan development.

@yiwu-arbug

This comment has been minimized.

Copy link
Collaborator Author

@yiwu-arbug yiwu-arbug commented Nov 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.