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

Ensure that the client is removed from _clientByOperationId map before destruction

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 7.3.0-rc2
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.3
    • Service Arch 2024-02-05
    • 135

    Description

      See the writeup in BF-31478 for more details-- right now, we remove the client from the _clientByOperationId map in the destructor of the ClientState decoration. However, if somebody tries to access the client in the small window between client destruction and the destruction of the ClientState object, they will encounter a segfault.

      Attachments

        Activity

          People

            erin.mcnulty@mongodb.com Erin McNulty
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: