[2.10] [RED-169833] fix: fix reporting used memory as unsigned long long (#6…#7277
Merged
[2.10] [RED-169833] fix: fix reporting used memory as unsigned long long (#6…#7277
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)
84f93d8 to
d8e7387
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.10 #7277 +/- ##
==========================================
- Coverage 89.27% 89.24% -0.03%
==========================================
Files 207 207
Lines 35309 35309
==========================================
- Hits 31523 31513 -10
- Misses 3786 3796 +10
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
Switches several INFO metrics from double to unsigned long long across memory, GC, queries/errors reporting.
src/info/info_redis.c):used_memory_indexes,smallest_memory_index,largest_memory_index,used_memory_vector_indexnow useULongLong(human-readable fields remain doubles).bytes_collected,total_cycles,total_ms_runswitched toULongLong.total_query_execution_time_msconfirmed asULongLongalongside other counters.errors_indexing_failures,errors_for_index_with_max_failures,OOM_indexing_failures_indexes_countswitched toULongLong.Written by Cursor Bugbot for commit d8e7387. This will update automatically on new commits. Configure here.