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
8
8
9
9
In a :term:`shard cluster`, this command reassigns the database's
10
10
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.
12
15
13
16
:dbcommand:`movePrimary` changes the primary shard for this
14
17
database in the cluster metadata, and migrates all un-sharded
@@ -36,6 +39,4 @@ movePrimary
36
39
:dbcommand:`movePrimary` your shard cluster may have orphaned
37
40
and unreachable data.
38
41
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