Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3461

Avoid long sleeps when the system clock is adjusted

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.4.10, 3.5.11, WT3.0.0
    • None
    • None
    • Storage 2017-07-31, Storage 2017-08-21
    • v3.4

    Description

      When calculating a timeout for pthread_cond_timedwait, we start with an absolute time and add the maximum time to wait. If the system clock is adjusted (which happens frequently on Azure), we use the largest clock value we have ever seen in this calculation. That means we can sleep by longer than expected, up to the amount that the clock is adjusted.

      Attachments

        Activity

          People

            michael.cahill@mongodb.com Michael Cahill (Inactive)
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: