Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-785

Docs are not complete on the behavior of db.fsyncLock()

    XMLWordPrintableJSON

Details

    Description

      The term 'database' in the current documentation is ambiguous

      When you run the db.fsyncLock() command, the following happens:

      • The command acquires the global write lock, blocking all write operations and all read operations on that node
      • The command flushes to disk all of the changes in all of the files used by MongoDB

      The global write lock will continue to be held until the command 'db.fsyncUnlock()' is run.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            william.zola@10gen.com William Zola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 13 weeks ago