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

sleep command should be willing to wait forever to acquire the lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.9
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • 9

    Description

      The (test-only) sleep command is designed to take a lock and sleep for a specified time while holding the lock. Currently it passes the maxTimeMS deadline as a deadline for acquiring a lock, which is leading to test failures. It should not do this - the lock acquisition is still interruptible by other means.

      Attachments

        Activity

          People

            charlie.swanson@mongodb.com Charlie Swanson
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: