[8.2] [MOD-12069] [MOD-12695] Add active_io_threads metric #7552
Merged
[8.2] [MOD-12069] [MOD-12695] Add active_io_threads metric #7552
active_io_threads metric #7552Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.2 #7552 +/- ##
==========================================
- Coverage 89.49% 89.47% -0.03%
==========================================
Files 253 253
Lines 40971 40989 +18
Branches 3725 3725
==========================================
+ Hits 36666 36673 +7
- Misses 4256 4267 +11
Partials 49 49
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:
|
JoanFM
approved these changes
Nov 27, 2025
Collaborator
Author
|
/backport |
Contributor
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 2.8
git worktree add -d .worktree/backport-7552-to-2.8 origin/2.8
cd .worktree/backport-7552-to-2.8
git switch --create backport-7552-to-2.8
git cherry-pick -x d75adea13119115ecbb54f3264b587127e93e00a |
redisearch-backport-pull-request bot
pushed a commit
that referenced
this pull request
Nov 27, 2025
* take things that has no diffrence * remove unrelated changes in test_info_modules * add io threads update to rqAsyncCb * fix test (cherry picked from commit d75adea)
Contributor
|
Successfully created backport PR for |
This was referenced Dec 1, 2025
github-merge-queue bot
pushed a commit
that referenced
this pull request
Dec 3, 2025
* backport #7552 to 2.8 * remove line from pytests * fix test * remove comment
github-merge-queue bot
pushed a commit
that referenced
this pull request
Dec 8, 2025
* [8.2] [MOD-12069] [MOD-12695] Add `active_io_threads` metric (#7552) * take things that has no diffrence * remove unrelated changes in test_info_modules * add io threads update to rqAsyncCb * fix test (cherry picked from commit d75adea) * move tests to c * fix test * swtich orde --------- Co-authored-by: meiravgri <[email protected]> Co-authored-by: meiravgri <[email protected]>
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.
backport #7530 to 8.2
Note: In this version we only have one uv thread.
Note
Tracks active I/O thread callbacks in global stats and reports them under a new
multi_threading.active_io_threadssection in INFO MODULES, with supporting tests and debug hook.MultiThreadingStatswithactive_io_threadstoTotalGlobalStats(src/info/global_stats.h).GlobalStats_UpdateActiveIoThreadsandGlobalStats_GetMultiThreadingStats(src/info/global_stats.c).active_io_threadsinrqAsyncCb(src/coord/rmr/rq.c).RQ_Debug_SetLoopReady()to mark loop ready and process pending queues; declare inrq.h.multi_threadingsection withactive_io_threadsto INFO MODULES (src/info/info_redis/info_redis.c).tests/cpptests/test_cpp_io_runtime_ctx.cpp).search_multi_threading.search_active_io_threadsand defaults to 0 (tests/pytests/test_info_modules.py).RS::WaitForConditionhelper for polling in tests (tests/cpptests/common.h).Written by Cursor Bugbot for commit f846436. This will update automatically on new commits. Configure here.