SERVER-133023ClosedFixed
Background tasks may not be properly exempted from load shedding
Claude says: There is an asymmetry in load shedding exemption logic: - ordered_ticket_semaphore.cpp:26-33 sheds only if getLowAdmissions() == 0 && queue >= maxWaiters && !admCtx->isLoadShedExempt(). - unordered_ticket_semaphore.cpp:58-67 sheds on previousWaiters >= _maxWaiters alone — no isLoadShedExempt() check, and also no getLowAdmissions() == 0 check. Git archaeology — it is an oversight, not a design choice - UnorderedTicketSemaphore (with its overflow shed) landed 2026-03-02 in