-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
Change Footer version handling, Make compression dynamic #1060
Conversation
Change Footer version handling Simplify version handling by switching to JSON instead of binary serialization. fixes quickwit-oss#1058 Make compression dynamic Instead of choosing the compression during compile time via a feature flag, you can now have multiple compression algorithms enabled and decide during runtime which one to choose via IndexSettings. Changing the compression algorithm on an index is also supported. The information which algorithm was used in the doc store is stored in the DocStoreFooter. The default is the lz4 block format. fixes quickwit-oss#904
Handle merging of different compressors Fix feature flag names Add doc store test for all compressors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some minor comments.
Mostly renaming.
Should be fine now, except removing the lz-frame stuff Edit also removed the lz4 frame stuff |
use docstore_compression default fallback in order to parse old versions of meta.json
rename lz4-block-compression to lz4-compression
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I added a bunch of extra comments
Change Footer version handling
Simplify version handling by switching to JSON instead of binary serialization.
fixes #1058
Make compression dynamic
Instead of choosing the compression during compile time via a feature flag, you can now have multiple compression algorithms enabled and decide during runtime which one to choose via IndexSettings. Changing the compression algorithm on an index is also supported. The information which algorithm was used in the doc store is stored in the DocStoreFooter. The default is the lz4 block format.
fixes #904