@@ -30,13 +30,15 @@ levels are:
30
30
operations, and modified the :program:`mongod` instances in-memory
31
31
representation of the data.
32
32
33
- - with the ``journal`` option. Confirms that the server has committed
33
+ - with the ``j`` or "journal" option. Confirms that the server has committed
34
34
the data to the on-disk journal. This ensures that the data will be
35
35
durable in the event that :program:`mongod` experiences an
36
36
unexpected shut down.
37
37
38
38
- with the ``fsync`` option. Confirms that the :program:`mongod` has
39
- flushed the write operation to disk.
39
+ flushed the write operation to disk. Do not use this operation in
40
+ normal production situations: use ``j`` to ensure this level of
41
+ durability.
40
42
41
43
- for replica sets, with the ``w`` option. Confirms that the write
42
44
operation has replicated to the specified number of
@@ -70,7 +72,12 @@ returns.
70
72
set, or the :term:`primary` and one other member of the replica set
71
73
before confirming the write operation.
72
74
73
- Using ``w: 0`` is valid but does not produce useful behavior.
75
+ If you specify a ``w`` value greater than the number running
76
+ members of the set, the operation will block until those numbers
77
+ join the set. Use the ``wtimeoute`` argument to specify a timeout
78
+ threshold for the :dbcommand:`getLastError` operation.
79
+
80
+ ``w: 0`` is valid but has no effect, and is equivelent to a no-op.
74
81
75
82
You can also configure a "default" :dbcommand:`getLastError` behavior
76
83
for the replica set configuration. Use the
0 commit comments