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

Fix opCtx and baton waits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.7, 4.1.8
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Service Arch 2019-02-11, Service Arch 2019-02-25
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: