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

mongod logs "old journal file will be removed" even when it isn't

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Logging, MMAPv1
    • None
    • Storage Execution

    Description

      In Journal::removeUnneededJournalFiles() the server logs when it's about to call removeOldJournalFile(). The log message is "old journal file will be removed". However, if journal file preallocation is in use, then removeOldJournalFile() might recycle and rename the journal file, rather than removing it. This means that the log message can be confusing, since it suggests that file deletion is occurring, when in fact this does not happen.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: