-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage Execution
This function will be added in SERVER-45665.
We wanted to make it interruptible, but the waitForMajorityService doesn't expect waitForWriteConcern (which will call waitForJournalFlush) to throw. This is not technically correct, because waitForWriteConcern returns a Status and today calls waitUntilDurable, which can in fact throw an error.
The desire is to make writeConcern's j:true code interruptible, like writeConcern's w code.
We could also explore moving more of the waitUntilDurable callers onto waitForJournalFlush, to make them interruptible (otherwise waitUntilDurable is uninterruptible while calling into WT). However, only callers of waitUntilDurable that call with the same function parameter settings as the JournalFlusher. We could explore moving the special function parameter controllable functionality out of waitUntilDurable into a higher level, too..
- is related to
-
SERVER-46191 Make waiting for the truncate point in waitForWriteConcern for single voter replica sets obey wtimeout
- Closed
- related to
-
SERVER-45665 Make JournalFlusher flush on command and watiForWriteConcern asynchronously call waitUntilDurable through the JournalFlusher
- Closed