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

ServiceStateMachine cleanup may cause invariant during the Process state

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platforms 2017-11-13
    • 0

      The ThreadGuard of the ServiceStateMachine was recently changed so that it'd be released before entering the TransportLayer of ServiceExecutor. However, it's possible for sinkMessage to fail and switch the SSM's state to endSession before processMessage() has returned and then the SSM will be cleaned up twice.

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: