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

WiredTigerEventHandler doesn't correctly wait for active readers to finish

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2024-09-02

      The precondition in this wait is backwards. We need to wait until _activeSections == 0.

      In practice, this could be a problem if shutdown incorrectly proceeds when there is an active reader, but the GlobalLock in the serverStatus section, which is the only user of this mechanism, protects us from this case.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: