SERVER-135803ClosedFixed

Fix UnorderedTicketSemaphore timing out after a permit becomes available

{{UnorderedTicketSemaphore::acquire}} ignored the boolean result from {{{}_permits.waitUntil{}}}. With a short explicit deadline, a waiter awakened by a newly released permit could be mistaken for a deadline expiration because {{{}deadline == until{}}}. This could return a false timeout even though a ticket was available As part of this ticket we should check the {{waitUntil}} result and enter the timeout path only when {{!waitResult && deadline == until.}}

Affected Versions
Versions known to exhibit this issue
8.3.0-rc09.0.0-rc09.1.0-rc0
Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10249.0.78.3.18
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.