Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Queries performing joins are lacking yields and monopolizing thread pool scheduler. Test Plan: This fix was confirmed with a manual validation. For the regression tests, instead of adding tests for every possible query and command, we'll soon add a generic test during regular thread pool runs performed by the scheduler monitor, that every scheduler is progressing. If the current worker on the scheduler doesn't yield for a long time (e.g. 5 seconds) then the diagnostic callstack of the offending query will be printed to the errorlog and will help to identify and instrument code with missing yields. Reviewers: sunxiayi, prerit, #mysql_mt Reviewed By: prerit Subscribers: pgl, webscalesql-eng@fb.com Differential Revision: https://phabricator.intern.facebook.com/D39948376 Tasks: T133239442
- Loading branch information