Skip to content

Commit 622201a

Browse files
authored
DOCSP-26471 schema validation - shard key doc directives (#2440)
* DOCSP-26471 schema validation - shard key doc directives * internal review feedback * internal review feedback
1 parent c2ad1cc commit 622201a

26 files changed

+42
-44
lines changed

source/administration/configuration.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ Sharding Configuration
267267

268268
Sharding requires :binary:`~bin.mongod` instances with different
269269
:binary:`~bin.mongod` configurations for the :ref:`config servers
270-
<sharded-cluster-config-server>` and the :doc:`shards
271-
</core/sharded-cluster-shards>`. The config servers store the cluster's
270+
<sharded-cluster-config-server>` and the :ref:`shards
271+
<shards-concepts>`. The config servers store the cluster's
272272
metadata, while the shards store the data.
273273

274274
To configure the config server :binary:`~bin.mongod` instances, in the

source/administration/production-notes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,8 @@ set deployments.
615615
Sharded Clusters
616616
~~~~~~~~~~~~~~~~
617617

618-
See :doc:`Sharded Cluster Production Architecture
619-
</core/sharded-cluster-components>` for an
618+
See :ref:`Sharded Cluster Production Architecture
619+
<sharding-shards>` for an
620620
overview of recommended sharded cluster architectures for production
621621
deployments.
622622

source/core/map-reduce.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ and restrictions on map-reduce operations, see the
9090
Sharded Collections
9191
-------------------
9292

93-
MongoDB supports map-reduce operations on :doc:`sharded collections
94-
</sharding>`.
93+
MongoDB supports map-reduce operations on :ref:`sharded collections
94+
<sharding-background>`.
9595

9696
However, starting in version 4.2, MongoDB deprecates the map-reduce
9797
option to *create* a new sharded collection and the use of the

source/core/security-ldap-external.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ Replica Sets
191191

192192
For :term:`replica sets <replica set>`, configure LDAP authorization on the
193193
:term:`secondary` and :term:`arbiter` members first before configuring the
194-
:term:`primary`. This also applies to :doc:`shard replica sets
195-
</core/sharded-cluster-shards>`, or :ref:`config server replica sets <csrs>`.
194+
:term:`primary`. This also applies to :ref:`shard replica sets
195+
<shards-concepts>`, or :ref:`config server replica sets <csrs>`.
196196
Configure one replica set member at a time to maintain a majority of members
197197
for write availability.
198198

source/core/security-ldap.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ Deploying LDAP authentication on a replica set
149149

150150
For :term:`replica sets <replica set>`, configure LDAP authentication on
151151
:term:`secondary` and :term:`arbiter` members first before configuring the
152-
:term:`primary`. This also applies to :doc:`shard replica sets
153-
</core/sharded-cluster-shards>`, or :ref:`config server replica sets <csrs>`.
152+
:term:`primary`. This also applies to :ref:`shard replica sets
153+
<shards-concepts>`, or :ref:`config server replica sets <csrs>`.
154154
Configure one replica set member at a time to maintain a majority of members
155155
for write availability.
156156

source/core/sharded-cluster-components.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Sharded Cluster Components
1818

1919
A MongoDB :term:`sharded cluster` consists of the following components:
2020

21-
* :doc:`shard </core/sharded-cluster-shards>`: Each shard contains a
21+
* :ref:`shard <shards-concepts>`: Each shard contains a
2222
subset of the sharded data. As of MongoDB 3.6, shards must be deployed
2323
as a :term:`replica set`.
2424

source/faq/sharding.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ This document answers common questions about :doc:`/sharding`. See also
1616
the :doc:`/sharding` section in the manual, which provides an
1717
:doc:`overview of sharding </sharding>`, including details on:
1818

19-
- :doc:`Shard Keys and Considerations for Shard Key Selection
20-
</core/sharding-shard-key>`
19+
- :ref:`Shard Keys and Considerations for Shard Key Selection
20+
<sharding-shard-key>`
2121

2222
- :ref:`Query Routing <sharding-read-operations>`
2323

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. note::
22

33
If you are using SELinux, any MongoDB operation that requires
4-
:doc:`server-side JavaScript </core/server-side-javascript>` will
4+
:ref:`server-side JavaScript <server-side-javascript>` will
55
result in segfault errors. :ref:`disable-server-side-js` describes
66
how to disable execution of server-side JavaScript.

source/includes/fact-sharded-cluster-components.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
A MongoDB :term:`sharded cluster` consists of the following components:
22

3-
- :doc:`shard </core/sharded-cluster-shards>`: Each shard contains a
3+
- :ref:`shard <shards-concepts>`: Each shard contains a
44
subset of the sharded data. Each shard can be deployed as a :term:`replica
55
set`.
66

source/includes/limits-sharding-unavailable-operations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ un-sharded collections.
55
The :dbcommand:`geoSearch` command is not supported in sharded
66
environments.
77

8-
In MongoDB 5.0 and earlier, you cannot specify :doc:`sharded collections
9-
</sharding>` in the ``from`` parameter of :pipeline:`$lookup` stages.
8+
In MongoDB 5.0 and earlier, you cannot specify :ref:`sharded collections
9+
<sharding-background>` in the ``from`` parameter of :pipeline:`$lookup` stages.

0 commit comments

Comments
 (0)