-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Storage
-
Fully Compatible
-
Execution Team 2019-09-09, Execution Team 2019-09-23, Execution Team 2019-10-07
The GlobalRead lock is acquired in fsync.
However, we only call waitUntilDurable() if _allowFsyncFailure is set. _allowFsyncFailure is only set if getTestCommandsEnabled() and the "allowFsyncFailure" flag was set on the cmd request, which was added to make fsync+lock block writes against the server regardless of fsync success. That was added in this commit for the backup work.
- is depended on by
-
SERVER-39591 RecoveryUnit::waitUntilDurable() should invariant against callers holding locks
- Closed