-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sort: add retry logic on file-descriptor exhaustion
Partial fix for bug #5714 Rework the merging logic to continue if we error-out due to file descriptor exhaustion. Merging will only stop if no progress can be made. Also minor tweek to code handling output-is-an-input scenario to prevent a double-open of the generated temp-file. Updated appropriate test case.
- Loading branch information
1 parent
93e3d08
commit eadc90a
Showing
3 changed files
with
168 additions
and
98 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
Oops, something went wrong.