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

Allow log rotation via SIGUSR1 to fail without killing the server

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Security 2021-06-28

    Description

      Currently, if log rotation fails (e.g. due to destination file already existing), then the server will always abort even though it could theoretically continue with the old log destination just fine.

      Report the failure to rotate in the log, but do not invariant (unless the cause was actually something critical).

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: