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

Remove deadlock in ScheduleBeforeStartupTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.9, 4.0.3, 4.1.4
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Platforms 2018-09-24
    • Linked BF Score:
      67

      Description

      It turns out that we race to acquire the test control mutex in ScheduleBeforeStartupTest. If the testing thread wins, then the periodic runner is stuck mid-job. Since it is blocked in the job, tearDown hangs.

        Attachments

          Activity

            People

            Assignee:
            ben.caimano Benjamin Caimano
            Reporter:
            ben.caimano Benjamin Caimano
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: