Skip to content

Commit 877f7fe

Browse files
authored
DOCSP-26275 replaces write-related doc directives (#2094)
1 parent e6f9354 commit 877f7fe

23 files changed

+29
-29
lines changed

source/administration/production-notes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Write Concern
208208

209209
.. include:: /includes/introduction-write-concern.rst
210210

211-
See the :doc:`Write Concern </reference/write-concern>` document for more
211+
See the :ref:`Write Concern <write-concern>` document for more
212212
information about choosing an appropriate write concern level for your
213213
deployment.
214214

source/core/replica-set-rollbacks.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ administrators can decide the next course of action to take.
171171
Avoid Replica Set Rollbacks
172172
---------------------------
173173

174-
For replica sets, the :doc:`write concern </reference/write-concern>`
174+
For replica sets, the :ref:`write concern <write-concern>`
175175
:writeconcern:`{ w: 1 } <\<number\>>` only provides acknowledgement of write
176176
operations on the primary. Data may be rolled back if the primary steps
177177
down before the write operations have replicated to any of the

source/includes/extracts-mongos-operations.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ ref: mongos-operations-wc-drop
99
content: |
1010
1111
When issued on a sharded cluster, :binary:`~bin.mongos` converts the
12-
:doc:`write concern </reference/write-concern>` of the
12+
:ref:`write concern <write-concern>` of the
1313
:dbcommand:`drop` command and its helper
1414
:method:`db.collection.drop()` to :writeconcern:`"majority"`.
1515
---
1616
ref: mongos-operations-wc-rename-collection
1717
content: |
1818
1919
When issued on a sharded cluster, :binary:`~bin.mongos` converts the
20-
:doc:`write concern </reference/write-concern>` of the
20+
:ref:`write concern <write-concern>` of the
2121
:dbcommand:`renameCollection` command and its helper
2222
:method:`db.collection.renameCollection()` to
2323
:writeconcern:`"majority"`.
@@ -26,23 +26,23 @@ ref: mongos-operations-wc-create
2626
content: |
2727
2828
When issued on a sharded cluster, :binary:`~bin.mongos` converts the
29-
:doc:`write concern </reference/write-concern>` of the
29+
:ref:`write concern <write-concern>` of the
3030
:dbcommand:`create` command and its helper
3131
:method:`db.createCollection()` to :writeconcern:`"majority"`.
3232
---
3333
ref: mongos-operations-wc-drop-database
3434
content: |
3535
3636
When issued on a sharded cluster, MongoDB converts the specified
37-
:doc:`write concern </reference/write-concern>` to
37+
:ref:`write concern <write-concern>` to
3838
:writeconcern:`"majority"`.
3939
4040
---
4141
ref: mongos-operations-wc-shard-collection
4242
content: |
4343
4444
:binary:`~bin.mongos` uses :writeconcern:`"majority"` for the
45-
:doc:`write concern </reference/write-concern>` of the
45+
:ref:`write concern <write-concern>` of the
4646
:dbcommand:`shardCollection` command and its helper
4747
:method:`sh.shardCollection()`.
4848
@@ -68,14 +68,14 @@ ref: mongos-operations-wc-remove-shard
6868
content: |
6969
7070
:binary:`~bin.mongos` converts the
71-
:doc:`write concern </reference/write-concern>` of the
71+
:ref:`write concern <write-concern>` of the
7272
:dbcommand:`removeShard` command to :writeconcern:`"majority"`.
7373
7474
---
7575
ref: mongos-operations-wc-fcv
7676
content: |
7777
When issued on a sharded cluster, :binary:`~bin.mongos` converts the
78-
:doc:`write concern </reference/write-concern>` of the
78+
:ref:`write concern <write-concern>` of the
7979
:dbcommand:`setFeatureCompatibilityVersion` command to :writeconcern:`"majority"`.
8080
---
8181
ref: mongos-operations-wc

source/includes/introduction-write-concern.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:doc:`Write concern </reference/write-concern>` describes the level of
1+
:ref:`Write Concern <write-concern>` describes the level of
22
acknowledgement requested from MongoDB for write operations. The level
33
of the write concerns affects how quickly the write operation returns.
44
When write operations have a *weak* write concern, they return quickly.

source/includes/list-visibility-of-data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- Regardless of a write's :doc:`write concern </reference/write-concern>`, other
1+
- Regardless of a write's :ref:`write concern <write-concern>`, other
22
clients using :readconcern:`"local"` or :readconcern:`"available"`
33
read concern can see the result of a write operation before the write
44
operation is acknowledged to the issuing client.

source/reference/command/aggregate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ arguments:
223223

224224
- document
225225

226-
- Optional. A document that expresses the :doc:`write concern </reference/write-concern>`
226+
- Optional. A document that expresses the :ref:`write concern <write-concern>`
227227
to use with the :pipeline:`$out` or :pipeline:`$merge` stage.
228228

229229
Omit to use the default write concern with the :pipeline:`$out` or

source/reference/command/create.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ The :dbcommand:`create` command has the following fields:
372372

373373
- document
374374

375-
- Optional. A document that expresses the :doc:`write concern </reference/write-concern>`
375+
- Optional. A document that expresses the :ref:`write concern <write-concern>`
376376
for the operation. Omit to use the default write
377377
concern.
378378

source/reference/command/delete.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The command takes the following fields:
116116
- document
117117
- .. _delete-command-wc:
118118

119-
Optional. A document expressing the :doc:`write concern </reference/write-concern>`
119+
Optional. A document expressing the :ref:`write concern <write-concern>`
120120
of the :dbcommand:`delete` command. Omit to use the default write
121121
concern.
122122

source/reference/command/findAndModify.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The command takes the following fields:
155155

156156
* - ``writeConcern``
157157
- document
158-
- Optional. A document expressing the :doc:`write concern </reference/write-concern>`.
158+
- Optional. A document expressing the :ref:`write concern <write-concern>`.
159159
Omit to use the default write concern.
160160

161161
.. include:: /includes/extracts/transactions-operations-write-concern.rst

source/reference/command/insert.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The command takes the following fields:
7676

7777
* - ``writeConcern``
7878
- document
79-
- Optional. A document that expresses the :doc:`write concern </reference/write-concern>`
79+
- Optional. A document that expresses the :ref:`write concern <write-concern>`
8080
of the :dbcommand:`insert` command. Omit to use the default write
8181
concern.
8282

source/reference/command/renameCollection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The command contains the following fields:
7272

7373
* - ``writeConcern``
7474
- document
75-
- Optional. A document that expresses the :doc:`write concern </reference/write-concern>`
75+
- Optional. A document that expresses the :ref:`write concern <write-concern>`
7676
for the operation. Omit to use the default write
7777
concern.
7878

source/reference/command/update.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The command takes the following fields:
9090

9191
* - ``writeConcern``
9292
- document
93-
- Optional. A document expressing the :doc:`write concern </reference/write-concern>`
93+
- Optional. A document expressing the :ref:`write concern <write-concern>`
9494
of the :dbcommand:`update` command. Omit to use the default write
9595
concern.
9696

source/reference/method/Bulk.execute.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Description
3737

3838
- document
3939

40-
- Optional. :doc:`Write concern </reference/write-concern>`
40+
- Optional. :ref:`write concern <write-concern>`
4141
document for the bulk operation as a whole. Omit to use
4242
default. For a standalone :binary:`~bin.mongod` server, the
4343
write concern defaults to ``{ w: majority }``. With a replica

source/reference/method/db.aggregate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Definition
163163

164164
- document
165165

166-
- Optional. A document that expresses the :doc:`write concern </reference/write-concern>`
166+
- Optional. A document that expresses the :ref:`write concern <write-concern>`
167167
to use with the :pipeline:`$out` or :pipeline:`$merge` stage.
168168

169169
Omit to use the default write concern with the :pipeline:`$out` or

source/reference/method/db.collection.aggregate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Definition
195195

196196
- document
197197

198-
- Optional. A document that expresses the :doc:`write concern </reference/write-concern>`
198+
- Optional. A document that expresses the :ref:`write concern <write-concern>`
199199
to use with the :pipeline:`$out` or :pipeline:`$merge` stage.
200200

201201
Omit to use the default write concern with the :pipeline:`$out` or

source/reference/method/db.collection.findAndModify.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Definition
180180

181181
- document
182182

183-
- Optional. A document expressing the :doc:`write concern </reference/write-concern>`.
183+
- Optional. A document expressing the :ref:`write concern <write-concern>`.
184184
Omit to use the default write concern.
185185

186186
.. include:: /includes/extracts/transactions-operations-write-concern.rst

source/reference/method/db.collection.findOneAndDelete.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Definition
6565

6666
* - ``writeConcern``
6767
- document
68-
- Optional. A document expressing the :doc:`write concern </reference/write-concern>`.
68+
- Optional. A document expressing the :ref:`write concern <write-concern>`.
6969
Omit to use the default write concern.
7070

7171
.. code-block:: javascript

source/reference/method/db.collection.remove.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Override Default Write Concern
221221

222222
The following operation to a replica set removes all the documents from
223223
the collection ``products`` where ``qty`` is greater than ``20`` and
224-
specifies a :doc:`write concern </reference/write-concern>` of ``w: 2``
224+
specifies a :ref:`write concern <write-concern>` of ``w: 2``
225225
with a ``wtimeout`` of 5000 milliseconds. This operation either returns
226226
after the write propagates to both the primary and one secondary, or
227227
times out after 5 seconds.

source/reference/method/db.createCollection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Definition
392392

393393
- document
394394

395-
- Optional. A document that expresses the :doc:`write concern </reference/write-concern>`
395+
- Optional. A document that expresses the :ref:`write concern <write-concern>`
396396
for the operation. Omit to use the default write
397397
concern.
398398

source/reference/method/db.getCollection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The :method:`db.getCollection()` object can access any
5353

5454
The collection specified may or may not exist on the server. If the collection
5555
does not exist, MongoDB creates it implicitly as part of
56-
:doc:`write operations </crud>` like
56+
:ref:`write operations <crud>` like
5757
:method:`db.collection.insertOne()`.
5858

5959
Example

source/reference/mongodb-defaults.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Specify Write Concern: MongoDB Drivers
240240
Transactions`` tab.
241241

242242
Using the :driver:`MongoDB drivers </>`, you can override the default
243-
:doc:`write concern </reference/write-concern>` and set write concern for
243+
:ref:`write concern <write-concern>` and set write concern for
244244
operations at the following levels:
245245

246246
.. list-table::

source/release-notes/2.6-compatibility.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Description
167167
The ``mongo`` shell write methods
168168
:method:`db.collection.insert()`, :method:`db.collection.update()`,
169169
``db.collection.save()`` and :method:`db.collection.remove()`
170-
now integrate the :doc:`write concern </reference/write-concern>`
170+
now integrate the :ref:`write concern <write-concern>`
171171
directly into the method rather than with a separate ``getLastError``
172172
command to provide :ref:`acknowledgement of writes <wc-w>` whether
173173
run interactively in the ``mongo`` shell or

source/release-notes/5.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ Implicit Default Write Concern
10031003
.. include:: /includes/5.0-default-wc.rst
10041004

10051005
The :writeconcern:`{ w: "majority" } <"majority">` default
1006-
:doc:`write concern </reference/write-concern>` provides a stronger
1006+
:ref:`write concern <write-concern>` provides a stronger
10071007
durability guarantee in the event of an election, or if replica set
10081008
members become unavailable.
10091009

0 commit comments

Comments
 (0)