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

Release client lock before asserting in TopoVersionObserver tests

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2020-02-24

    Description

      The main thread could lock the client before the observer thread creates an OpCtx, causing this assertion to fail. As a result, the main thread will terminate holding on to the client lock, which in turn blocks observer thread, and results in a dead-lock.

      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: