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

Avoid crashing mongod when network setup fails

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • Service arch 2020-11-30
    • 29

      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.

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

              Created:
              Updated:
              Resolved: