@@ -19,27 +19,24 @@ operation returns as successful. A member can only acknowledge a
19
19
write operation after it has received and applied the write
20
20
successfully.
21
21
22
- For replica sets, the write concern of
23
- :writeconcern:`w: "majority" <"majority">` requires acknowledgement that
24
- the write operations have propagated to a
25
- :ref:`calculated majority <calculating-majority-count>` of the
26
- data-bearing voting members. For most replica set configurations,
27
- :writeconcern:`w: "majority" <"majority">` is the default
28
- write concern. To learn how MongoDB determines the default write
29
- concern, see :ref:`wc-default-behavior`.
30
-
31
- For clusters where members have :ref:`journaling <journaling-internals>`
32
- enabled, combining ``"majority"`` write concern with :writeconcern:`j :
33
- true <j>` can prevent :ref:`rollback <replica-set-rollbacks>` of write
34
- concern acknowledged data.
35
-
36
- Write operations with a write concern of
37
- :writeconcern:`w: 1 <\<number\>>` require that only the primary replica
38
- set member acknowledge the write before returning write concern
39
- acknowledgment. You can specify an integer value greater than ``1`` to
40
- require acknowledgment from the primary and as many secondaries as
41
- needed to meet the specified value, up to the total number of
42
- data-bearing members in the replica set.
22
+ For replica sets:
23
+
24
+ - A write concern of :writeconcern:`w: "majority" <"majority">` requires
25
+ acknowledgement that the write operations have been durably committed to a
26
+ :ref:`calculated majority <calculating-majority-count>` of the data-bearing
27
+ voting members. For most replica set configurations, :writeconcern:`w:
28
+ "majority" <"majority">` is the :ref:`default write concern
29
+ <wc-default-behavior>`.
30
+
31
+ - A write concern of :writeconcern:`w: 1 <\<number\>>` only requires
32
+ acknowledgment from the primary replica set member before returning
33
+ write concern acknowledgment.
34
+
35
+ - A write concern with a numeric value greater than ``1`` requires
36
+ acknowledgment from the primary and as many secondaries as needed to meet the
37
+ specified value. The secondaries do not need to be voting members to meet the
38
+ write concern threshold. The specified write concern value cannot be greater
39
+ than the total number of data-bearing members in the replica set.
43
40
44
41
For complete documentation on write acknowledgment
45
42
behavior, see :ref:`wc-ack-behavior`.
0 commit comments