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

Fix opCtx and baton waits

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.7, 4.1.8
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.0
    • Service Arch 2019-02-11, Service Arch 2019-02-25
    • 0

      BF-12091 found two bugs:

      1. Interruptible::waitForConditionOrInterruptFor with a predicate didn't wait the correct amount of time.

      2. baton_asio_linux would fail to expire timers whose deadline == now (only expiring those 1 millisecond past now). This caused it to spin unnecessarily just as timers were expiring.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: