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

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Logging, MMAPv1
    • Labels:
      None
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: