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

Add marker file for journaling to ensure a clean restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MMAPv1, Stability, Storage
    • Labels:
      None
    • Operating System:
      ALL

      Description

      When the journal files are wiped/truncated, like during fsync+lock, a marker file should be written so if a backup is made, or the server crashes, the server can automatically restart instead of complaining about a lock file but no journal files.

      There are many cases where this happens, like dropDatabase, moveChunk, and repair.

      This may be MMapV1 specific.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-execution Backlog - Execution Team
              Reporter:
              scotthernandez Scott Hernandez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: