File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ movePrimary
88
99 In a :term:`shard cluster`, this command reassigns the database's
1010 primary shard. The primary shard for a database holds all
11- un-sharded collections in the database.
11+ un-sharded collections in the database. :dbcommand:`movePrimary`
12+ is an administrative command that is only available for
13+ :program:`mongos` instances and is intended to be used when
14+ removing a shard from a shard cluster.
1215
1316 :dbcommand:`movePrimary` changes the primary shard for this
1417 database in the cluster metadata, and migrates all un-sharded
@@ -36,6 +39,4 @@ movePrimary
3639 :dbcommand:`movePrimary` your shard cluster may have orphaned
3740 and unreachable data.
3841
39- :dbcommand:`movePrimary` is an administrative command that is
40- only available for :program:`mongos` instances.
41-
42+ .. seealso:: :doc:`/tutorial/remove-shards-from-cluster`
You can’t perform that action at this time.
0 commit comments