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

Fix data race in ConnectionThread and SessionThread in transport_layer_asio_test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Service Arch 2021-11-15, Service Arch 2021-11-22
    • 151
    • 2

      ConnectionThread::_run can be called before the ConnectionThread object has finished being constructed, so then when it accesses _s, _s is sometimes not fully constructed.

      The same is true in the SessionThread class

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: