File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ Write Concern
22
22
When a :term:`client` sends a write operation to a database server,
23
23
the operation will return without waiting for the operation to succeed
24
24
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.
30
31
31
32
Many drivers have a "safe" or "write concern" mode that automatically
32
33
issues a :dbcommand:`getLastError` command following write
You can’t perform that action at this time.
0 commit comments