We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae6357c commit e8be513Copy full SHA for e8be513
source/reference/method/sh.moveChunk.txt
@@ -1,3 +1,5 @@
1
+.. _sh-move-chunk:
2
+
3
==============
4
sh.moveChunk()
5
@@ -25,6 +27,13 @@ Definition
25
27
automatically migrate :term:`chunks <chunk>`, and avoid calling
26
28
:method:`sh.moveChunk()` directly.
29
30
+ .. warning::
31
32
+ This command cannot be used for hashed shard keys, as it
33
+ uses the ``find`` option from the :dbcommand:`moveChunk` command.
34
+ To move a chunk with a :term:`hashed shard key`, use the
35
+ :dbcommand:`moveChunk` command specifying the ``bounds`` field.
36
37
:method:`sh.moveChunk()` takes the following arguments:
38
39
.. list-table::
0 commit comments