Skip to content

Commit 575d4c5

Browse files
author
Sam Kleinman
committed
edits: clarifications to wording in the write concern section
1 parent e848130 commit 575d4c5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source/applications/replication.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ Write Concern
2222
When a :term:`client` sends a write operation to a database server,
2323
the operation will return without waiting for the operation to succeed
2424
or return. To verify that the operation is successful, use the
25-
:dbcommand:`getLastError` command. :dbcommand:`getLastError` is
26-
configurable and can wait to return for journal writes or full disk
27-
flush. For replica sets, :dbcommand:`getLastError` can return only
28-
when the write operation has propagated to more than one node, or a
29-
majority of nodes in the set.
25+
:dbcommand:`getLastError` command. You can configure
26+
:dbcommand:`getLastError` to return after journal flushes to disk or
27+
after the data itself flushes to disk. For replica sets, you can
28+
configure :dbcommand:`getLastError` to return only after the write
29+
operation has propagated to more than one member of the set or to a
30+
majority of the set's members.
3031

3132
Many drivers have a "safe" or "write concern" mode that automatically
3233
issues a :dbcommand:`getLastError` command following write

0 commit comments

Comments
 (0)