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

In 2.6, mongod does not resume writing to the log file when the disk for the log volume is full, and then the space is free up

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.3
    • Component/s: Logging
    • ALL
    • Security 2020-05-04

      The log files are saved on a different volume than the data and journals.

      In 2.6, when the log volume is full, it stop writing to the log file. However, when we free the disk space, it does not write to the log file any more. We have to run logrotate command will trigger it to continue writing to the log file. This is different than 2.2/2.4.

      In 2.2 and 2.4, when the log volume is full, it also stops writing to the log file. When we free the disk space, it would continue writing to the log file like this:

      Tue Jul 29 20:34:57.822 [conn1] insert test.docs ninserted:1 keyUpdates:0 locks(micrTue Jul 29 20:35:26.093 [journal] _groupCommit 
      Tue Jul 29 20:35:26.093 [journal] _groupCommit upgrade
      

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            linda.qin@mongodb.com Linda Qin
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: