Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80206

Semaphore ticket holder does not respect interruptibility when timeout is less than 500ms

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Scheduling
    • ALL

      When waiting to acquire a ticket, the semaphore ticket holder uses an internal interval of 500ms. However, if the timeout provided by the caller is less than this interval and is not able to acquire the ticket within that time, we immediately return instead of checking for interrupt first. Note that this differs from the behavior of the priority ticket holder which always checks for interrupt after waiting.

            Assignee:
            Unassigned Unassigned
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: