Skip to content

Commit 88b86be

Browse files
author
Andrew Leung
committed
Added in remove balance window (DOCS-453) and fixing rendering changes
1 parent 0859a69 commit 88b86be

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

source/administration/sharding.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ block until the migration is complete.
570570

571571
:dbcommand:`moveChunk` command accepts parameter:
572572
``_secondaryThrottle``, when set to ``true``, MongoDB will ensure
573-
secondary members have replicated changes before allowing new chunk
573+
:term:`secondary` members have replicated changes before allowing new chunk
574574
migrations to occur.
575575

576576
.. note::
@@ -698,6 +698,13 @@ be able to migrate chunks:
698698

699699
db.settings.update({ _id : "balancer" }, { $set : { activeWindow : { start : "23:00", stop : "6:00" } } }, true )
700700

701+
To turn off the balancing window:
702+
703+
.. code-block:: javascript
704+
705+
use config
706+
db.settings.update({ _id : "balancer" }, { $unset : { activeWindow : true })
707+
701708
.. note::
702709

703710
The balancer window must be sufficient to *complete* the migration

source/core/sharding-internals.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,12 +461,12 @@ evenly among shards. Migrations may be either:
461461
- Manual. In these migrations you must specify the chunk that you want
462462
to migrate and the destination shard. Only migrate chunks manually
463463
after initiating sharding, to distribute data during bulk inserts,
464-
or if the cluster becomes uneven. See :doc:`Migrating Chunks
464+
or if the cluster becomes uneven. See :ref:`Migrating Chunks
465465
<sharding-balancing-manual-migration>` for more details.
466466

467467
- Automatic. The balancer process handles most migrations when
468468
distribution of chunks between shards becomes uneven. See
469-
:doc:`Migration Thresholds <sharding-migration-thresholds>` for more
469+
:ref:`Migration Thresholds <sharding-migration-thresholds>` for more
470470
details.
471471

472472
All chunk migrations use the following procedure:
@@ -494,5 +494,5 @@ All chunk migrations use the following procedure:
494494

495495
When the ``_secondaryThrottle`` option is set ``true`` for
496496
:dbcommand:`moveChunk` or the :term:`balancer`, MongoDB will ensure
497-
secondary members have replicated changes before allowing new chunk
497+
:term:`secondary` members have replicated changes before allowing new chunk
498498
migrations to occur.

source/reference/command/moveChunk.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ moveChunk
1111
:method:`sh.moveChunk()` function in the :program:`mongo` shell if
1212
you must move a chunk manually.
1313

14-
:option _secondaryThrottle: Optional. The default setting is
15-
``false``. If ``true`` this will
16-
specify that primary shard members
17-
should wait for its secondary shard
18-
members to replicate chunk data updates
19-
before allowing new chunk migrations to
20-
occur.
14+
:option _secondaryThrottle: The default setting is ``false``. If
15+
``true`` this will specify that
16+
:term:`primary` :term:`shard` members
17+
should wait for its :term:`secondary`
18+
shard members to replicate :term:`chunk` data
19+
updates before allowing new chunk
20+
migrations to occur.
2121

2222
For details on chunk migrations, please
2323
see: :ref:`Sharding Internals - Chunk

0 commit comments

Comments
 (0)