-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.0.4, 4.1.5
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.0
-
Repl 2018-12-17
-
45
The ReplBatcher thread takes a lock in OplogBufferCollection::_peek_inlock(), which is called from SyncTail::tryPopAndWaitForMore(). If the OperationContext is interrupted due to shutdown, this lock acquisition can throw. However, the ReplBatcher thread is not written to handle exceptions. The ReplBatcher either needs to handle exceptions or use an UninterruptibleLockGuard.
- is related to
-
SERVER-42204 ReplBatcher must handle exceptions from OplogApplier::calculateBatchLimitBytes
- Closed