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

Gracefully handle filesystem becoming read-only in a running mongod process

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.1
    • Component/s: Internal Code
    • Labels:
      None
    • Storage Execution

      Currently, in the case a filesystem goes read only will crash with a "can't take write lock" message.

      It would be preferable for the following:

      1. Mongod should continuously monitor the state of the file system where /data is located for being in read-only state
      2. When read-only state is detected mongod should immediately step down as a master and exit gracefully
      3. If mongod is started while the file system is in read-only state mongod should block and wait until the file system becomes writable; in this blocked state it should be seen as "recovering" by its peers much like the state when mongod is replaying journal files after restart.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: