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

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

    XMLWordPrintable

    Details

    • Last comment by Customer:
      true

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              8 years, 9 weeks ago
              Date of 1st Reply: