Skip to content

Commit e657f9a

Browse files
authored
DOCSP-26432 replaces Read-Only - Replica Sets doc directives (mongodb#2253)
1 parent b3f597b commit e657f9a

21 files changed

+79
-61
lines changed

source/administration/production-notes.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ Architecture
608608
Replica Sets
609609
~~~~~~~~~~~~
610610

611-
See the :doc:`Replica Set Architectures </core/replica-set-architectures>`
611+
See the :ref:`Replica Set Architectures <replica-set-architecture>`
612612
document for an overview of architectural considerations for replica
613613
set deployments.
614614

source/applications/replication.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _replica-set-read-write-semantics:
2+
13
====================================
24
Replica Set Read and Write Semantics
35
====================================

source/faq/replica-sets.txt

+12-12
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ FAQ: Replication and Replica Sets
1414
:class: singlecol
1515

1616
This document answers common questions about replication in MongoDB.
17-
See also the :doc:`/replication` section in the manual, which provides
18-
an :doc:`overview of replication </replication>`, including details on:
17+
See also the :ref:`replication` section in the manual, which provides
18+
an overview of replication including details on:
1919

20-
- :doc:`/core/replica-set-members`
20+
- :ref:`replica-set-members`
2121

22-
- :doc:`/core/replica-set-architectures`
22+
- :ref:`replica-set-architecture`
2323

24-
- :doc:`/core/replica-set-elections`
24+
- :ref:`replica-set-elections`
2525

2626
What kind of replication does MongoDB support?
2727
----------------------------------------------
2828

29-
MongoDB supports :doc:`replica sets </replication>`, which can have up
29+
MongoDB supports :ref:`Replica sets <replication>`, which can have up
3030
to :ref:`50 nodes <3.0-replica-sets-max-members>`.
3131

3232
Does replication work over the Internet and WAN connections?
@@ -40,7 +40,7 @@ recovery in a West-coast data center.
4040

4141
.. seealso::
4242

43-
:doc:`/tutorial/deploy-geographically-distributed-replica-set`
43+
:ref:`server-replica-set-deploy-geo`
4444

4545
Can MongoDB replicate over a "noisy" connection?
4646
------------------------------------------------
@@ -55,7 +55,7 @@ possible for the members of the node to keep up with the replication.
5555

5656
.. seealso::
5757

58-
:doc:`/core/replica-set-elections`
58+
:ref:`replica-set-elections`
5959

6060
Why use journaling if replication already provides data redundancy?
6161
-------------------------------------------------------------------
@@ -92,8 +92,8 @@ following data with the rest of the replica set:
9292
If your MongoDB deployment uses TLS/SSL, then all communications
9393
between arbiters and the other members of the replica set are secure.
9494

95-
See the documentation for :doc:`/tutorial/configure-ssl` for more
96-
information. As with all MongoDB components, run arbiters on secure
95+
See the documentation for :ref:`configure-mongod-mongos-for-tls-ssl` for
96+
more information. As with all MongoDB components, run arbiters on secure
9797
networks.
9898

9999
.. see::
@@ -118,7 +118,7 @@ Yes, unsharded replica sets can be renamed. This procedure requires
118118
downtime.
119119

120120
To learn how to rename your replica set, see
121-
:doc:`/tutorial/rename-unsharded-replica-set`.
121+
:ref:`rename-a-replica-set`.
122122

123123
Before renaming a replica set, perform a full
124-
:doc:`backup of your MongoDB deployment </core/backups>`.
124+
:ref:`backup of your MongoDB deployment <backup-methods>`.

source/introduction.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _intro-to-mongodb:
2+
13
=======================
24
Introduction to MongoDB
35
=======================

source/reference.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _reference-landing:
2+
13
=========
24
Reference
35
=========

source/reference/glossary.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _glossary:
2+
13
========
24
Glossary
35
========

source/reference/log-messages.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ output sent to:
9292
Output from the :dbcommand:`getLog` command is also in JSON format.
9393

9494
Each log entry is output as a self-contained JSON object which follows
95-
the :doc:`Relaxed Extended JSON v2.0 </reference/mongodb-extended-json>`
95+
the :ref:`Relaxed Extended JSON v2.0 <mongodb-extended-json-v2>`
9696
specification, and has the following layout and field order:
9797

9898
.. code-block:: javascript
@@ -186,8 +186,7 @@ Escaping
186186

187187
The **message** and **attributes** fields will escape control
188188
characters as necessary according to the
189-
:doc:`Relaxed Extended JSON v2.0 </reference/mongodb-extended-json>`
190-
specification:
189+
Relaxed Extended JSON v2.0 specification:
191190

192191
.. include:: /includes/fact-json-escape-sequences.rst
193192

source/reference/mongodb-defaults.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _default-mongodb-read-write-concerns:
2+
13
============================================
24
Default MongoDB Read Concerns/Write Concerns
35
============================================

source/reference/operator.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _operator-ref-landing:
2+
13
=========
24
Operators
35
=========

source/reference/replica-set-protocol-versions.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _replica-set-protocol-version:
2+
13
============================
24
Replica Set Protocol Version
35
============================

source/reference/sql-comparison.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _sql-to-mongodb-mapping:
2+
13
============================
24
SQL to MongoDB Mapping Chart
35
============================

source/reference/write-concern.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Write Concern
1818

1919
Write concern describes the level of acknowledgment requested from
2020
MongoDB for write operations to a standalone :binary:`~bin.mongod` or
21-
to :doc:`replica sets </replication>` or to :doc:`sharded clusters
22-
</sharding>`. In sharded clusters, :binary:`~bin.mongos` instances will
23-
pass the write concern on to the shards.
21+
to :ref:`Replica sets <replication>` or to :ref:`sharded clusters
22+
<sharding-background>`. In sharded clusters, :binary:`~bin.mongos`
23+
instances will pass the write concern on to the shards.
2424

2525
.. note::
2626

@@ -181,8 +181,8 @@ available:
181181

182182
.. seealso::
183183

184-
- :doc:`/reference/mongodb-defaults`
185-
- :doc:`/reference/replica-set-protocol-versions`
184+
- :ref:`default-mongodb-read-write-concerns`
185+
- :ref:`replica-set-protocol-version`
186186

187187
.. _wc-j:
188188

source/release-notes/1.6.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ downtime when the need arises.
3838
Replica Sets
3939
------------
4040

41-
:doc:`Replica sets </replication>`, which provide automated failover
41+
:ref:`Replica Sets <replication>`, which provide automated failover
4242
among a cluster of ``n`` nodes, are also now available.
4343

4444
Please note that replica pairs are now deprecated; we strongly recommend

source/release-notes/4.2-downgrade.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fCV 4.2 features that are :ref:`incompatible with 4.0
7171

7272
- :doc:`/core/index-wildcard`.
7373

74-
- :doc:`Read-only view </core/views>` definitions and :ref:`collection
74+
- :ref:`Read-only view <views-landing-page>` definitions and :ref:`collection
7575
validation <schema-validation-query-expression>` definition that
7676
include 4.2 operators.
7777

source/tutorial/deploy-replica-set-for-testing.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Check the status of your replica set at any time with the
238238
<https://github.com/mongodb/mongo-snippets/blob/master/replication/simple-setup.py>`_
239239
as an example of a basic automatically-configured replica set.
240240

241-
Refer to :doc:`Replica Set Read and Write Semantics </applications/replication>`
241+
Refer to :ref:`Replica Set Read and Write Semantics <replica-set-read-write-semantics>`
242242
for a detailed explanation of read and write semantics in MongoDB.
243243

244244
.. [#oplog]

source/tutorial/getting-started.txt

+23-23
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ examples in the shell above.
7171
Populate a Collection (Insert)
7272
------------------------------
7373

74-
MongoDB stores documents in :doc:`collections
75-
</core/databases-and-collections>`. Collections are analogous to
74+
MongoDB stores documents in :ref:`collections
75+
<databases-and-collections>`. Collections are analogous to
7676
tables in relational databases. If a collection does not exist,
7777
MongoDB creates the collection when you first store data for that
7878
collection.
@@ -342,25 +342,25 @@ For additional examples, including MongoDB driver specific examples
342342

343343
* - Query document examples
344344

345-
- - :doc:`/tutorial/query-documents`
345+
- - :ref:`read-operations-queries`
346346

347-
- :doc:`/tutorial/query-embedded-documents`
347+
- :ref:`read-operations-subdocuments`
348348

349-
- :doc:`/tutorial/query-arrays`
349+
- :ref:`read-operations-arrays`
350350

351-
- :doc:`/tutorial/query-array-of-documents`
351+
- :ref:`array-match-embedded-documents`
352352

353-
- :doc:`/tutorial/project-fields-from-query-results`
353+
- :ref:`projection`
354354

355-
- :doc:`/tutorial/query-for-null-fields`
355+
- :ref:`faq-developers-query-for-nulls`
356356

357357
* - Update document examples
358358

359-
- - :doc:`/tutorial/update-documents`
359+
- - :ref:`write-op-update`
360360

361361
* - Delete document examples
362362

363-
- - :doc:`/tutorial/remove-documents`
363+
- - :ref:`write-op-delete`
364364

365365
Additional Topics
366366
~~~~~~~~~~~~~~~~~
@@ -374,34 +374,34 @@ Additional Topics
374374
- Administrators
375375
- Reference
376376

377-
* - :doc:`/introduction`
377+
* - :ref:`intro-to-mongodb`
378378

379379
:ref:`Installation Guides <tutorial-installation>`
380380

381-
:doc:`/core/databases-and-collections`
381+
:ref:`databases-and-collections`
382382

383-
:doc:`/core/document`
383+
:ref:`bson-document-format`
384384

385385
- :ref:`CRUD Operations <crud>`
386386

387387
:ref:`Aggregation <aggregation>`
388388

389-
:doc:`SQL to MongoDB </reference/sql-comparison>`
389+
:ref:`SQL to MongoDB <sql-to-mongodb-mapping>`
390390

391-
:doc:`/indexes`
391+
:ref:`indexes`
392392

393-
- :doc:`/administration/production-notes`
393+
- :ref:`production-notes`
394394

395-
:doc:`Replica Sets </replication>`
395+
:ref:`Replica Sets <replication>`
396396

397-
:doc:`Sharded Clusters </sharding>`
397+
:ref:`Sharded Clusters <sharding-background>`
398398

399-
:doc:`MongoDB Security </security>`
399+
:ref:`MongoDB Security <security>`
400400

401-
- :doc:`Shell Methods </reference/method>`
401+
- :ref:`Shell Methods <js-administrative-methods>`
402402

403-
:doc:`Query Operators </reference/operator>`
403+
:ref:`Query Operators <operator-ref-landing>`
404404

405-
:doc:`Reference </reference>`
405+
:ref:`Reference <reference-landing>`
406406

407-
:doc:`/reference/glossary`
407+
:ref:`glossary`

source/tutorial/manage-mongodb-processes.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _manage-mongodb-processes:
2+
13
===========================
24
Manage ``mongod`` Processes
35
===========================

source/tutorial/query-documents.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ Cursor
344344
Read Isolation
345345
~~~~~~~~~~~~~~
346346

347-
For reads to :doc:`replica sets </replication>` and replica set
347+
For reads to :ref:`Replica sets <replication>` and replica set
348348
:doc:`shards </sharding>`, read concern allows clients to choose a
349349
level of isolation for their reads. For more information, see
350350
:doc:`/reference/read-concern`.

source/tutorial/rename-unsharded-replica-set.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _rename-a-replica-set:
2+
13
====================
24
Rename a Replica Set
35
====================

source/tutorial/resync-replica-set-member.txt

+10-11
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@ Automatically Sync a Member
6262
:setting:`~storage.dbPath` directory.
6363

6464
This procedure relies on MongoDB's regular process for
65-
:doc:`Replica Set Syncing </core/replica-set-sync>`. This stores the current
66-
data on the member. For an overview of MongoDB initial sync process, see the
67-
:doc:`Replica Set Syncing </core/replica-set-sync>` section.
65+
:ref:`Replica Set Syncing <replica-set-sync>`. This stores the current
66+
data on the member. For an overview of MongoDB initial sync process, see
67+
the :ref:`Replica Set Syncing <replica-set-sync>` section.
6868

6969
Initial sync operations can impact the other members of the set and
70-
create additional traffic to the primary. The syncing member requires another
71-
member of the set that is accessible and up to date.
70+
create additional traffic to the primary. The syncing member requires
71+
another member of the set that is accessible and up to date.
7272

7373
If the instance has no data, you can follow the
74-
:doc:`/tutorial/expand-replica-set` or
75-
:doc:`/tutorial/replace-replica-set-member` procedure to add a new member to a
76-
replica set.
74+
:ref:`server-replica-set-deploy-expand` or
75+
:ref:`server-replica-set-replace-member` procedure to add a new member to
76+
a replica set.
7777

7878
You can also force a :binary:`~bin.mongod` that is already a member of the set to
7979
perform an initial sync by restarting the instance without the contents of the
@@ -93,8 +93,7 @@ perform an initial sync by restarting the instance without the contents of the
9393
#. Delete all data and sub-directories from the member's
9494
:setting:`~storage.dbPath` directory.
9595

96-
#. :doc:`Restart the mongod process
97-
</tutorial/manage-mongodb-processes>`.
96+
#. :ref:`Restart the mongod process <manage-mongodb-processes>`.
9897

9998
At this point, the :binary:`~bin.mongod` performs an initial sync. The length of
10099
the initial sync process depends on the size of the database and the network
@@ -126,7 +125,7 @@ during the file copy operation.
126125
You *cannot* use a :binary:`~bin.mongodump` backup for the data files:
127126
**only a snapshot backup**. For approaches to capturing a consistent
128127
snapshot of a running :binary:`~bin.mongod` instance, see the
129-
:doc:`/core/backups` documentation.
128+
:ref:`backup-methods` documentation.
130129

131130
Sync the Member
132131
```````````````

source/tutorial/troubleshoot-sharded-clusters.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ When a :binary:`~bin.mongos` instance starts, it retrieves a copy of the
2828
A Single Member Becomes Unavailable in a Shard Replica Set
2929
----------------------------------------------------------
3030

31-
:doc:`Replica sets </replication>` provide :term:`high availability` for
31+
:ref:`Replica sets <replication>` provide :term:`high availability` for
3232
shards. If the unavailable :binary:`~bin.mongod` is a :term:`primary`,
3333
then the replica set will :ref:`elect <replica-set-elections>` a new
3434
primary. If the unavailable :binary:`~bin.mongod` is a
@@ -65,7 +65,7 @@ interruption and attempt to recover the shard as soon as possible.
6565
A Config Server Replica Set Member Become Unavailable
6666
-----------------------------------------------------
6767

68-
:doc:`Replica sets </replication>` provide :term:`high availability` for
68+
Replica sets provide :term:`high availability` for
6969
the config servers. [#sccc]_ If an unavailable config server is a
7070
:term:`primary`, then the replica set will
7171
:ref:`elect <replica-set-elections>` a new primary.

0 commit comments

Comments
 (0)