-
Notifications
You must be signed in to change notification settings - Fork 333
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(remote wal): set default compresion to LZ4 #4294
feat(remote wal): set default compresion to LZ4 #4294
Conversation
WalkthroughThe recent changes focus primarily on updating the compression method used throughout the codebase. Specifically, the compression mode switched from Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
0a415cd
to
13f71f3
Compare
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- src/common/meta/src/wal_options_allocator/kafka/topic_manager.rs (1 hunks)
- src/common/wal/src/config.rs (2 hunks)
- src/common/wal/src/config/kafka/datanode.rs (1 hunks)
- src/common/wal/src/config/kafka/standalone.rs (1 hunks)
Additional comments not posted (5)
src/common/wal/src/config/kafka/datanode.rs (1)
49-49
: LGTM! Ensure the compression setting is consistently applied.The default compression algorithm has been updated to LZ4 as intended.
src/common/wal/src/config/kafka/standalone.rs (1)
70-70
: LGTM! Ensure the compression setting is consistently applied.The default compression algorithm has been updated to LZ4 as intended.
src/common/wal/src/config.rs (2)
210-210
: LGTM! Ensure the compression setting is consistently applied.The compression algorithm has been updated to LZ4 in the
DatanodeKafkaConfig
struct as intended.
232-232
: LGTM! Ensure the compression setting is consistently applied.The compression algorithm has been updated to LZ4 in the
StandaloneKafkaConfig
struct as intended.src/common/meta/src/wal_options_allocator/kafka/topic_manager.rs (1)
176-176
: LGTM! Ensure the compression setting is consistently applied.The compression algorithm has been updated to LZ4 in the
try_append_noop_record
method as intended.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4294 +/- ##
==========================================
- Coverage 85.31% 85.01% -0.30%
==========================================
Files 1063 1066 +3
Lines 188345 188636 +291
==========================================
- Hits 160686 160372 -314
- Misses 27659 28264 +605 |
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
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
Switch the default compression algorithm to LZ4 to reduce WAL size
Checklist
Summary by CodeRabbit
New Features
NoCompression
toLz4
across all configurations for improved data handling efficiency.Improvements