Repository navigation
Include module version in module load log message - #4566
Conversation
The module load log lines only reported the module name (and the path it was loaded from). Also log the module version, so it is easy to tell which version of a module was loaded. Signed-off-by: Binbin <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughModule load success logs now place the module version after the load status for static and dynamic modules. The logged values and loading behavior remain unchanged. ChangesModule Loading
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized change only adds the module version to load log messages; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 too large.) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## unstable #4566 +/- ##
============================================
- Coverage 78.79% 78.66% -0.14%
============================================
Files 171 171
Lines 89862 89862
============================================
- Hits 70811 70687 -124
- Misses 19051 19175 +124
🚀 New features to boost your workflow:
|
Signed-off-by: Binbin <[email protected]>
rjd15372
left a comment
There was a problem hiding this comment.
Looks good, although that version is not human readable in some cases.
For instance, the ldap module uses a version scheme that encodes the semver version number in the highest 3 bytes, which makes the logged version number to show as a very big number.
It might be worth in the future to have a module API function that returns the module version in a human readable format to be used in logging and in other places.
The module load log lines only reported the module name (and the path it was loaded from). Also log the module version, so it is easy to tell which version of a module was loaded. --------- Signed-off-by: Binbin <[email protected]>
Move the sorted set B+ tree note (#4359) to Behavior Changes: OBJECT ENCODING now reports btree instead of skiplist, which is a client-visible output change and matters more for upgrade decisions than the speedup. Drop the notes for #3366 and #3791, neither of which is user-facing. #3366 replaces dict with a wrapper around hashtable; scoping the configured hash seed to data hashtables keeps hash-seed doing exactly what valkey.conf documents it to do, and stops the seed leaking into internal tables already populated during startup. #3791 makes the ranged memory-release helper a no-op on non-jemalloc builds to match existing behavior. Add two changes that triage left out: - #3533 fixed an undersized madvise range in dismissHashtable, so only about an eighth of the bucket array was hinted after fork. The fix cuts real copy-on-write overhead during background saves. - #4566 logs the module version on load, which is operator-visible. Signed-off-by: Sarthak Aggarwal <[email protected]> (cherry picked from commit 097567a)
The module load log lines only reported the module name (and the path
it was loaded from). Also log the module version, so it is easy to tell
which version of a module was loaded.