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
Lines changed: 1 addition & 1 deletion
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

Lines changed: 12 additions & 0 deletions
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

Lines changed: 14 additions & 0 deletions
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

Lines changed: 14 additions & 0 deletions
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

Lines changed: 13 additions & 0 deletions
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

Lines changed: 13 additions & 0 deletions
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

Lines changed: 12 additions & 0 deletions
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

Lines changed: 13 additions & 0 deletions
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

Lines changed: 14 additions & 0 deletions
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

Lines changed: 14 additions & 0 deletions
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

0 commit comments

Comments
 (0)