Skip to content

Commit 31974ef

Browse files
authored
DOCSP-48351: mongosh helper methods (#393)
* commit * url fix
1 parent 58b96d9 commit 31974ef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/reference/methods.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,17 @@ Sharding Methods
13391339
- Returns a boolean to report if the :term:`balancer` process is
13401340
currently migrating chunks.
13411341

1342+
* - :upcoming:`sh.isConfigShardEnabled()
1343+
</reference/method/sh.isConfigShardEnabled>`
1344+
- Returns whether a cluster has a :ref:`config shard <config-shard-concept>`.
1345+
If it does, ``sh.isConfigShardEnabled()`` also returns
1346+
host and tag information.
1347+
1348+
* - :upcoming:`sh.listShards()
1349+
</reference/method/sh.listShards>`
1350+
- Returns an array of documents describing the
1351+
shards in a sharded cluster.
1352+
13421353
* - :method:`sh.moveChunk()`
13431354

13441355
- Migrates a :term:`chunk` in a :term:`sharded cluster`.

0 commit comments

Comments
 (0)