Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for occasional eacces error on windows.
For reasons unknown, opening a file on windows sometimes returns {error, eacces}. Fix by retrying open for a maximum of 10 seconds. Max retry time now also applies to emfile errors. Change-Id: I915416a2512def52ecbc615c058deff7e630922f Reviewed-on: http://review.couchbase.org/14085 Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com> Tested-by: Damien Katz <damien@couchbase.com> Reviewed-by: Damien Katz <damien@couchbase.com>
- Loading branch information
Damien Katz
committed
Mar 19, 2012
1 parent
c4cf5c4
commit 1c64fa3
Showing
1 changed file
with
23 additions
and
7 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