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

Improve resiliency of ServiceExecutorFixed::Stats unittest

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2020-07-27
    • 0

    Description

      Condition variables may miss a notification, and this could cause an indefinite wait in the Stats test under ServiceExecutorFixed unit-tests. A possible fix is using a more strong ordering mechanism for accesses to the shared variable that stores the number of active executor threads.

      Attachments

        Activity

          People

            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: