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

Avoid crashing mongod when network setup fails

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • ALL
    • Service arch 2020-11-30
    • 29

    Description

      The order of initializing the global storage engine for mongod v3.6 could cause the process to crash if the attempt to setup TransportLayerManager fails (here). This is an issue due to this assumption for creating a new opCtx, that a global storage engine is available.

      The shutdown code, in particular here, may attempt to create a new opCtx, which would result in violating the invariant.

      This ticket should address the issue by making sure the process exits cleanly if the network setup fails.

      Attachments

        Activity

          People

            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: