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

WiredTiger journal files accumulate with each server start/stop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: 3.4.10, 3.5.8
    • Component/s: Storage, WiredTiger
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Sprint:
      Storage 2017-05-29

      Description

      If I start MongoDB 3.4.3, wait a few seconds, ctrl-c out, and repeat the journal directory adds a new WiredTigerLog.* file for every restart.

      i.e.

      /tmp/foo# ls -alh journal/
      total 201M
      drwxrwxr-x 2 corymintz corymintz 4.0K Apr  5 13:46 .
      drwxrwxr-x 4 corymintz corymintz 4.0K Apr  5 13:46 ..
      -rw-rw-r-- 1 corymintz corymintz  23K Apr  5 13:46 WiredTigerLog.0000000001
      -rw-rw-r-- 1 corymintz corymintz 6.3K Apr  5 13:46 WiredTigerLog.0000000002
      -rw-rw-r-- 1 corymintz corymintz 6.3K Apr  5 13:46 WiredTigerLog.0000000003
      -rw-rw-r-- 1 corymintz corymintz 6.3K Apr  5 13:46 WiredTigerLog.0000000004
      -rw-rw-r-- 1 corymintz corymintz 6.3K Apr  5 13:46 WiredTigerLog.0000000005
      -rw-rw-r-- 1 corymintz corymintz 6.3K Apr  5 13:46 WiredTigerLog.0000000006
      -rw-rw-r-- 1 corymintz corymintz 6.3K Apr  5 13:46 WiredTigerLog.0000000007
      -rw-rw-r-- 1 corymintz corymintz 100M Apr  5 13:46 WiredTigerPreplog.0000000001
      -rw-rw-r-- 1 corymintz corymintz 100M Apr  5 13:46 WiredTigerPreplog.0000000002
      

      Following the exact same procedure with MongoDB 3.4.2, the old files are cleaned up

      /tmp/foo# ls -alh journal/
      total 201M
      drwxrwxr-x 2 corymintz corymintz 4.0K Apr  5 14:09 .
      drwxrwxr-x 4 corymintz corymintz 4.0K Apr  5 14:09 ..
      -rw-rw-r-- 1 corymintz corymintz 4.3K Apr  5 14:09 WiredTigerLog.0000000007
      -rw-rw-r-- 1 corymintz corymintz 100M Apr  5 14:09 WiredTigerPreplog.0000000001
      -rw-rw-r-- 1 corymintz corymintz 100M Apr  5 14:09 WiredTigerPreplog.0000000002
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: