-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Filesystem API
-
Storage Engines
-
StorEng - Defined Pipeline
Windows hosts frequently encounter an issue where file operations including rename and drop can be blocked by an anti-virus or similar software having an open file handle on the file.
Anti-viruses are usually doing this as part of their regular scanning workload. Unfortunately this can crash WT as it doesn't expect file operations to fail. In one such example the incoming (replacement) turtle file was unable to be renamed as part of checkpoint.
WiredTiger already has a mechanism to retry windows file operation failures. We should extend it to handle additional error codes.
Scope:
- Extend the retry macro to retry on EBUSY
- Consider other error codes such as EAGAIN, if possible log the windows error message returned
- is related to
-
WT-4528 Retry Windows functions on access denied
- Closed