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

fsync/lock blocks the progress of mongodump

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: