Skip to content

Commit 10e9f6d

Browse files
authored
DOCSP-35872 Atlas support for Sharding methods (#6151)
* DOCSP-35872 Atlas support for sharding methods * Fix build error * Add two more methods * fix typos --------- Co-authored-by: pierwill <[email protected]>
1 parent 2134b7a commit 10e9f6d

16 files changed

+200
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.. note::
22

3-
This |command| has *limited support* in M0, M2, M5, and M10 clusters.
3+
This command has *limited support* in M0, M2, M5, and M10 clusters.
44
For more information, see :atlas:`Unsupported Commands </unsupported-commands>`.

source/reference/method/db.checkMetadataConsistency.txt

+12
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@ Definition
3939
which contains a document for each inconsistency found in
4040
the sharding metadata.
4141

42+
Compatibility
43+
-------------
44+
45+
.. |command| replace:: method
46+
47+
This method is available in deployments hosted in the following environments:
48+
49+
.. include:: /includes/fact-environments-atlas-only.rst
50+
51+
.. include:: /includes/fact-environments-atlas-support-all.rst
52+
53+
.. include:: /includes/fact-environments-onprem-only.rst
4254

4355
Syntax
4456
-------

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

+14
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ Definition
2222
can use :dbcommand:`configureQueryAnalyzer` to configure query
2323
sampling on a collection.
2424

25+
26+
Compatibility
27+
-------------
28+
29+
.. |command| replace:: method
30+
31+
This method is available in deployments hosted in the following environments:
32+
33+
.. include:: /includes/fact-environments-atlas-only.rst
34+
35+
.. include:: /includes/fact-environments-atlas-support-all.rst
36+
37+
.. include:: /includes/fact-environments-onprem-only.rst
38+
2539
Syntax
2640
------
2741

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

+14
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@ Definition
3535
the sharding metadata.
3636

3737

38+
Compatibility
39+
-------------
40+
41+
.. |command| replace:: method
42+
43+
This method is available in deployments hosted in the following environments:
44+
45+
.. include:: /includes/fact-environments-atlas-only.rst
46+
47+
.. include:: /includes/fact-environments-atlas-support-all.rst
48+
49+
.. include:: /includes/fact-environments-onprem-only.rst
50+
51+
3852
Syntax
3953
-------
4054

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

+13
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ Definition
2929
details, see :ref:`<cqa-output>`.
3030

3131

32+
Compatibility
33+
-------------
34+
35+
.. |command| replace:: method
36+
37+
This method is available in deployments hosted in the following environments:
38+
39+
.. include:: /includes/fact-environments-atlas-only.rst
40+
41+
.. include:: /includes/fact-environments-atlas-support-all.rst
42+
43+
.. include:: /includes/fact-environments-onprem-only.rst
44+
3245
Syntax
3346
------
3447

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

+13
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,16 @@ db.collection.getShardVersion()
2121
with a sharded cluster.
2222

2323
For internal and diagnostic use only.
24+
25+
Compatibility
26+
-------------
27+
28+
.. |command| replace:: method
29+
30+
This method is available in deployments hosted in the following environments:
31+
32+
.. include:: /includes/fact-environments-atlas-only.rst
33+
34+
.. include:: /includes/fact-environments-atlas-support-no-free-or-serverless.rst
35+
36+
.. include:: /includes/fact-environments-onprem-only.rst

source/reference/method/sh.abortReshardCollection.txt

+12
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ Definition
3232
.. |dbcommand| replace:: :dbcommand:`abortReshardCollection` command
3333
.. include:: /includes/fact-mongosh-shell-method-alt.rst
3434

35+
Compatibility
36+
-------------
37+
38+
.. |command| replace:: method
39+
40+
This method is available in deployments hosted in the following environments:
41+
42+
.. include:: /includes/fact-environments-atlas-only.rst
43+
44+
.. include:: /includes/fact-environments-atlas-support-all.rst
45+
46+
.. include:: /includes/fact-environments-onprem-only.rst
3547

3648
Syntax
3749
------

source/reference/method/sh.addShard.txt

+13
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@ Definition
6767

6868
.. include:: /includes/extracts/mongos-operations-wc-add-shard.rst
6969

70+
Compatibility
71+
-------------
72+
73+
.. |command| replace:: method
74+
75+
This method is available in deployments hosted in the following environments:
76+
77+
.. include:: /includes/fact-environments-atlas-only.rst
78+
79+
.. include:: /includes/fact-environments-atlas-support-no-serverless.rst
80+
81+
.. include:: /includes/fact-environments-onprem-only.rst
82+
7083
Considerations
7184
--------------
7285

source/reference/method/sh.addShardToZone.txt

+14
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@ Definition
5757
Only issue :method:`sh.addShardToZone()` when connected to a
5858
:binary:`~bin.mongos` instance.
5959

60+
61+
Compatibility
62+
-------------
63+
64+
.. |command| replace:: method
65+
66+
This method is available in deployments hosted in the following environments:
67+
68+
.. include:: /includes/fact-environments-atlas-only.rst
69+
70+
.. include:: /includes/fact-environments-atlas-support-no-serverless.rst
71+
72+
.. include:: /includes/fact-environments-onprem-only.rst
73+
6074
Behavior
6175
--------
6276

source/reference/method/sh.balancerCollectionStatus.txt

+14
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ Definition
2626
.. |dbcommand| replace:: :dbcommand:`balancerCollectionStatus` command
2727
.. include:: /includes/fact-mongosh-shell-method-alt.rst
2828

29+
30+
Compatibility
31+
-------------
32+
33+
.. |command| replace:: method
34+
35+
This method is available in deployments hosted in the following environments:
36+
37+
.. include:: /includes/fact-environments-atlas-only.rst
38+
39+
.. include:: /includes/fact-environments-atlas-support-no-serverless.rst
40+
41+
.. include:: /includes/fact-environments-onprem-only.rst
42+
2943
Syntax
3044
------
3145

source/reference/method/sh.checkMetadataConsistency.txt

+12
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ Definition
3636
which contains a document for each inconsistency found in
3737
the sharding metadata.
3838

39+
Compatibility
40+
-------------
41+
42+
.. |command| replace:: method
43+
44+
This method is available in deployments hosted in the following environments:
45+
46+
.. include:: /includes/fact-environments-atlas-only.rst
47+
48+
.. include:: /includes/fact-environments-atlas-support-all.rst
49+
50+
.. include:: /includes/fact-environments-onprem-only.rst
3951

4052
Syntax
4153
-------

source/reference/method/sh.enableSharding.txt

+13
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@ Definition
3131
.. include:: /includes/fact-mongosh-shell-method-alt.rst
3232

3333

34+
Compatibility
35+
-------------
36+
37+
.. |command| replace:: method
38+
39+
This method is available in deployments hosted in the following environments:
40+
41+
.. include:: /includes/fact-environments-atlas-only.rst
42+
43+
.. include:: /includes/fact-environments-atlas-support-no-serverless.rst
44+
45+
.. include:: /includes/fact-environments-onprem-only.rst
46+
3447
Syntax
3548
------
3649

source/reference/method/sh.moveChunk.txt

+14
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,20 @@ Definition
9191
- :doc:`/sharding`, and :ref:`chunk migration
9292
<sharding-chunk-migration>`
9393

94+
95+
Compatibility
96+
-------------
97+
98+
.. |command| replace:: method
99+
100+
This method is available in deployments hosted in the following environments:
101+
102+
.. include:: /includes/fact-environments-atlas-only.rst
103+
104+
.. include:: /includes/fact-environments-atlas-support-no-serverless.rst
105+
106+
.. include:: /includes/fact-environments-onprem-only.rst
107+
94108
Example
95109
-------
96110

source/reference/method/sh.removeShardFromZone.txt

+13
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,19 @@ Definition
5656
Only issue :method:`sh.removeShardFromZone()` when connected to a
5757
:binary:`~bin.mongos` instance.
5858

59+
Compatibility
60+
-------------
61+
62+
.. |command| replace:: method
63+
64+
This method is available in deployments hosted in the following environments:
65+
66+
.. include:: /includes/fact-environments-atlas-only.rst
67+
68+
.. include:: /includes/fact-environments-atlas-support-no-serverless.rst
69+
70+
.. include:: /includes/fact-environments-onprem-only.rst
71+
5972
Behavior
6073
--------
6174

source/reference/method/sh.reshardCollection.txt

+14
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,20 @@ The ``options`` field supports the following fields:
111111
...
112112
]
113113

114+
115+
Compatibility
116+
-------------
117+
118+
.. |command| replace:: method
119+
120+
This method is available in deployments hosted in the following environments:
121+
122+
.. include:: /includes/fact-environments-atlas-only.rst
123+
124+
.. include:: /includes/fact-environments-atlas-support-all.rst
125+
126+
.. include:: /includes/fact-environments-onprem-only.rst
127+
114128
.. _resharding-process-details:
115129

116130
Resharding Process

source/reference/method/sh.updateZoneKeyRange.txt

+14
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,20 @@ Definition
8888
Only issue :method:`sh.updateZoneKeyRange()` when connected to a
8989
:binary:`~bin.mongos` instance.
9090

91+
92+
Compatibility
93+
-------------
94+
95+
.. |command| replace:: method
96+
97+
This method is available in deployments hosted in the following environments:
98+
99+
.. include:: /includes/fact-environments-atlas-only.rst
100+
101+
.. include:: /includes/fact-environments-atlas-support-no-serverless.rst
102+
103+
.. include:: /includes/fact-environments-onprem-only.rst
104+
91105
Behavior
92106
--------
93107

0 commit comments

Comments
 (0)