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

Ensure that the client is removed from _clientByOperationId map before destruction

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 7.3.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.3
    • Service Arch 2024-02-05
    • 135

      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.

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

              Created:
              Updated:
              Resolved: