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

Fix opCtx and baton waits

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.7, 4.1.8
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Service Arch 2019-02-11, Service Arch 2019-02-25
    • 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

            jason.carey@mongodb.com Jason Carey
            jason.carey@mongodb.com Jason Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: