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
    • Labels:
      None
    • Storage Execution
    • 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:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: