-
Notifications
You must be signed in to change notification settings - Fork 313
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
feat: support user config manifest compression #1579
feat: support user config manifest compression #1579
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1579 +/- ##
===========================================
- Coverage 85.69% 84.96% -0.74%
===========================================
Files 529 537 +8
Lines 85000 85208 +208
===========================================
- Hits 72840 72393 -447
- Misses 12160 12815 +655 |
Maybe we need to add a new test suite for It's not urgent. Can you create an issue to track it? Thank you. |
Consider add file |
I think |
@Taylor-lagrange Will you add the sqlness test suite or leave it to next PR? |
Yes, I checked the sqlness code twice. My expected implementation conflicts with sqlness original implementation concept. Sqlness implementation is based on case, but if we have several standalone/distributed test then we copy those cases several times, it is not elegant. We should do it based on conf. But these need more in-depth discussion |
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.
LGTM
Sqlness code not complicate, maybe we can consider fork and make our own sqlness, The interface provided by the original code is not very flexible |
The sqlness maintainer is @waynexia , we can discuss this here or in slack channels. |
* feat: support user config manifest compression * chore: change style * chore: enhance test
* feat: support user config manifest compression * chore: change style * chore: enhance test
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Expose ManifestLogStorage compress configuration to user
Manifest log now supports compression but it is not enabled by default. I hope to expose the option to users whether to enable Manifest log compression.
expose a config
use_compress
to user whether to use Manifest log compression.Checklist
Refer to a related PR or issue link (optional)
Closes #1394
Follow-up of #1497