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

0 commit comments

Comments
 (0)