[2.10] Pending jobs in coordinator queue + test fix#7744
Merged
Conversation
* align info/* to active_coord * add APIs to get queues length * add to info * fix * test * fix test * catch general error * rename * fix moduleArgs * rename * rename test_active_worker_threads * rename to wworketrs * implment coord_high_priority_pending * fix test * skip on cluster fix nonlocal cursor_id * skip on on cluster * test cleanups * clean up * skip hybrid test * fix spell check * use launch_cmds_in_bg_with_exception_check (cherry picked from commit a611272)
add teardown (cherry picked from commit d015cd8)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.10 #7744 +/- ##
==========================================
- Coverage 89.46% 89.42% -0.04%
==========================================
Files 210 210
Lines 36087 36126 +39
==========================================
+ Hits 32284 32306 +22
- Misses 3803 3820 +17
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
Dec 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.
MOD-12069 Multi threaded section
MOD-12788 Number of pending jobs in coordinator queue
Backport of #7596 + #7641 to 2.10 branch. Exposes
coord_high_priority_pending_jobsmetric inINFO MODULESmulti_threading section.Note
Adds
coord_high_priority_pending_jobsto INFO MODULES and introducesFT.DEBUG COORD_THREADS(pause/resume/is_paused), with corresponding coordinator/threadpool plumbing and tests.coord_high_priority_pending_jobstoMultiThreadingStatsand expose it inINFO MODULESviaGlobalStats_GetMultiThreadingStatsandAddToInfo_MultiThreading.ConcurrentSearchPool_HighPriorityPendingJobsCount()to report coordinator high-priority queue size.FT.DEBUG COORD_THREADSsubcommand (PAUSE|RESUME|IS_PAUSED), registered incoordCommandsand listed incoord/src/debug_command_names.h.ConcurrentSearch_isPaused(),ConcurrentSearch_pause(),ConcurrentSearch_resume().wait_for_conditionwithtimeoutparam.coord_high_priority_pending_jobsforFT.SEARCH,FT.AGGREGATE, andFT.CURSOR READwhen coordinator threads are paused.Written by Cursor Bugbot for commit 8645d38. This will update automatically on new commits. Configure here.