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

Add marker file for journaling to ensure a clean restart

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • MMAPv1, Stability, Storage
    • None
    • Storage Execution
    • 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

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: