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

fsync/lock blocks the progress of mongodump

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      fsync/lock is only supposed to prevent writes. But in a recent dba training class, we tried to do a backup on a slave by applying this and then using mongodump on it, only to discover that mongodump was blocked until the lock was released. Since mongodump only does queries, why is it blocked?

      Understand that locking is not required in this case (unlike file copies), but it is reasonable to use it if a guarantee of self-consistency for the server is required.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            cwestin Chris Westin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: