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

exitCleanly should not be called in error cases

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None
    • Fully Compatible

    Description

      Currently mongoDbMain always calls exitCleanly on the return of initAndListen. This includes cases like EXIT_UNCAUGHT when the journal fails to apply cleanly. We should only ever exitCleanly in the EXIT_CLEAN case.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: