-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In the checkForInterruptNoAssert implementation checks whether the deadline has expired regardless of the value of _ignoreInterrupts. waitForConditionOrInterruptNoASsertUntil does not check _ignoreInterrupts at all.
On the other hand, the _markKilledIfDeadlineRequires helper won't make the opCtx killed if _ignoreInterrupts is true. This helper is only used in popArtificialDeadline and runWithoutInterruptionExceptAtGlobalShutdown. The latter also sets an artificial deadline of Date_t::max(), so this logic isn't relevant here either way.
We should ensure that all places that handle interrupts and deadlines handle _ignoreInterrupts the same way.
- is related to
-
SERVER-42786 Ticket acquisition should more accurately adjust timeout for maxTimeMS
-
- Closed
-