@@ -40,32 +40,31 @@ concern on to the shard.
4040``w`` Option
4141~~~~~~~~~~~~
4242
43- The ``w`` option provides the ability to specify the write concern for
44- :term:`replica sets <replica set>` *as well as* disable write concern
45- entirely .
43+ The ``w`` option provides the ability to disable write concern entirely
44+ *as well as* specify the write concern for :term:`replica sets <replica
45+ set>` .
4646
4747MongoDB uses ``w: 1`` as the default write concern. ``w: 1``
4848provides basic receipt acknowledgment.
4949
50- Using the ``w`` option, the following ``w: <value>`` write concerns are
51- available:
50+ The ``w`` option accepts the following values:
5251
5352.. list-table::
5453 :header-rows: 1
55- :widths: 30 70
54+ :widths: 25 75
5655
5756 * - Value
5857
5958 - Description
6059
61- * - .. writeconcern:: w: 1
60+ * - ``1``
6261
6362 - Provides acknowledgment of write operations on a standalone
6463 :program:`mongod` or the :term:`primary` in a replica set.
6564
6665 This is the default write concern for MongoDB.
6766
68- * - .. writeconcern:: w: 0
67+ * - ``0``
6968
7069 - Disables basic acknowledgment of write operations, but returns
7170 information about socket exceptions and networking errors to the
@@ -76,7 +75,7 @@ available:
7675 the server will require that :program:`mongod` acknowledge
7776 the write operation.
7877
79- * - .. writeconcern:: w: <Number greater than 1>
78+ * - <Number greater than 1>
8079
8180 - Guarantees that write operations have propagated successfully to
8281 the specified number of replica set members including the
@@ -90,7 +89,7 @@ available:
9089 members to become available, which means MongoDB blocks
9190 indefinitely.
9291
93- * - .. writeconcern:: w: "majority"
92+ * - `` "majority"``
9493
9594 - Confirms that write operations have propagated to the majority
9695 of voting nodes: a majority of the replica set's
@@ -104,7 +103,7 @@ available:
104103
105104 .. include:: /includes/fact-master-slave-majority.rst
106105
107- * - .. writeconcern:: w: <tag set>
106+ * - <tag set>
108107
109108 - By specifying a :ref:`tag set
110109 <replica-set-configuration-tag-sets>`, you can have fine-grained
0 commit comments