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

Comment on: "manual/core/write-concern.txt"

      The description for the section "Journaled" is misleading, at least if I understand the source code correctly. The documentation says:

      "However, there is a window between journal commits when the write operation is not fully durable". That probably refers to a mongod running with journaling on that accepts a write that does NOT use the j:true write concern. In that case, there's a chance of the write getting lost since the last journal commit.

      If j:true is specified, however, the write operation (or, more precisely, the getLastError command) will block until the server's durability thread has flushed all pending changes to disk, so the client can be sure that the data has been written.

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            christoph.menge@pactas.com Christoph Menge
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 35 weeks, 4 days ago