-
Notifications
You must be signed in to change notification settings - Fork 240
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
Problem: pinL0FilterAndIndexBlocksInCache is not enabled #1529
Conversation
WalkthroughThis update enhances the CI/CD workflow by adding a disk space preparation step in the GitHub Actions configuration. It also introduces a new feature in RocksDB, allowing the caching of crucial filter and index blocks, thereby improving performance. The changes are documented in the 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 Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1529 +/- ##
=======================================
Coverage 36.84% 36.84%
=======================================
Files 117 117
Lines 8124 8124
=======================================
Hits 2993 2993
Misses 4766 4766
Partials 365 365 |
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 (3)
- .github/workflows/test.yml (1 hunks)
- CHANGELOG.md (1 hunks)
- cmd/cronosd/opendb/opendb_rocksdb.go (1 hunks)
Files skipped from review due to trivial changes (1)
- CHANGELOG.md
Additional comments not posted (2)
.github/workflows/test.yml (1)
26-27
: Ensure the directories being removed are not required.The new step removes several directories to free up disk space. Ensure that these directories are not required for any other steps in the CI/CD process.
cmd/cronosd/opendb/opendb_rocksdb.go (1)
116-116
: LGTM! Ensure thorough testing of the new configuration option.The new configuration option
SetPinL0FilterAndIndexBlocksInCache(true)
aims to improve memory usage and performance. Ensure thorough testing to validate its impact.
71a8c34
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
New Features
Chores
Documentation