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.
mongod logs "old journal file will be removed" even when it isn't
- Assignee:
-
[DO NOT USE] Backlog - Storage Execution Team
- Reporter:
-
Kevin Pulo
- Votes:
-
0 Vote for this issue - Watchers:
-
6 Start watching this issue
- Created:
- Updated:
- Resolved: