Skip to content

Commit bf8de6d

Browse files
author
Dave Cuthbert
authored
DOCSP-25063 BACKPORT (#1812)
1 parent 0e3cd8d commit bf8de6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/reference/command/shardingState.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ shardingState
1313
.. dbcommand:: shardingState
1414

1515
:dbcommand:`shardingState` is an admin command that reports if
16-
:binary:`~bin.mongod` is a member of a :term:`sharded cluster`.
16+
:binary:`~bin.mongod` is a member of a :term:`sharded cluster`. To
17+
run the command, you must run against the ``admin`` database. See
18+
:method:`db.adminCommand()`.
1719

1820
:dbcommand:`shardingState` has the following prototype form:
1921

0 commit comments

Comments
 (0)