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

ServiceStateMachine cleanup may cause invariant during the Process state

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0-rc4
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-11-13
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: