-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict the time a query can hold an index worker (#3269)
A new MaxWorkerTime option is introduced to cap how long a query can hold an index worker at once. If the max is exceeded, the query must yield the index worker back and acquire it again (potentially waiting) to continue processing the results. This cap ensures large queries don't dominate the finite number of index workers allowed to run concurrently and lock out smaller queries. The idea is users would want to set the max large enough so the vast majority of typical queries can finish with only a single worker acquisition.
- Loading branch information
1 parent
73bac90
commit 973caaf
Showing
31 changed files
with
1,379 additions
and
814 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.