[2.8] [RED-169833] fix: fix reporting used memory as unsigned long long (#6…#7278
Merged
[2.8] [RED-169833] fix: fix reporting used memory as unsigned long long (#6…#7278
Conversation
) * fix: fix reporting used memory as unsigned long long * change the bytes collected type to double again after change by other PR (cherry picked from commit ca5b662)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.8 #7278 +/- ##
==========================================
- Coverage 87.49% 87.44% -0.06%
==========================================
Files 203 203
Lines 34784 34784
==========================================
- Hits 30435 30417 -18
- Misses 4349 4367 +18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
alonre24
approved these changes
Nov 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…971)
fix: fix reporting used memory as unsigned long long
change the bytes collected type to double again after change by other PR
(cherry picked from commit ca5b662)
Describe the changes in the pull request
A clear and concise description of what the PR is solving, including:
Which additional issues this PR fixes
Main objects this PR modified
Mark if applicable
Note
Use unsigned long long for memory, GC, and error metrics in INFO output instead of doubles, keeping human-readable fields unchanged.
src/info/info_redis.c):used_memory_indexes,smallest_memory_index,largest_memory_index,used_memory_vector_indexnow useRedisModule_InfoAddFieldULongLong; human-readable*_humanremain doubles.bytes_collected,total_cycles,total_ms_runswitched toRedisModule_InfoAddFieldULongLong.errors_indexing_failures,errors_for_index_with_max_failures,OOM_indexing_failures_indexes_countswitched toRedisModule_InfoAddFieldULongLong.Written by Cursor Bugbot for commit f1c1687. This will update automatically on new commits. Configure here.