The variable _isPrimary in replication_consistency_markers_impl.cpp is used to signal whether or not to write out the oplog truncation point during journal flushing. However, it is not synchronized with the actual write to the truncation point. The code which clears it attempts to work around this by interrupting and waiting for the journal flusher, but the journal flusher is not safely interruptible at this point.
- is depended on by
-
SERVER-47898 Advancing lastDurable irrespective of lastApplied
- Closed