-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colflow: introduce a cluster setting for max retries of FD acquisition
We recently introduced a mechanism of retrying the acquision of file descriptors needed for the disk-spilling queries to be able to get out of a deadlock. We hard-coded the number of retries at 8, and this commit makes that number configurable via a cluster setting (the idea is that some users might be ok retrying for longer, so they will have an option to do that). This cluster setting will also be the escape hatch to the previous behavior (indefinite wait on `Acquire`) when the setting is set to zero. Release note: None
- Loading branch information
1 parent
bfe4fa6
commit 9d9bf55
Showing
4 changed files
with
24 additions
and
20 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