Skip to content

DOCS365 add note/content that balancer window is in localtime #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions source/administration/sharding.txt
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,12 @@ be able to migrate chunks:
db.settings.update({ _id : "balancer" }, { $set : { activeWindow : { start : "<start-time>", stop : "<stop-time>" } } }, true )

Replace ``<start-time>`` and ``<end-time>`` with time values using
two digit hour and minute values (e.g ``HH:MM``) that describe the beginning and end
boundaries of the balancing window. For instance, running the following
will force the balancer to run between 11PM and 6AM only:
two digit hour and minute values (e.g ``HH:MM``) that describe the
beginning and end boundaries of the balancing window.
These times will be evaluated relative to the time zone of each individual
:program:`mongos` instance in the shard cluster.
For instance, running the following
will force the balancer to run between 11PM and 6AM local time only:

.. code-block:: javascript

Expand Down
8 changes: 8 additions & 0 deletions source/core/sharding-internals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,14 @@ Once a balancing round starts, the balancer will not stop until the
difference between the number of chunks on any two shards is *less
than two.*

.. note::

The balancer can be restricted to operating between specific
start and end times, see
":ref:`Schedule the Balancing Window <sharding-schedule-balancing-window>`."
These times will be evaluated relative to the time zone of each individual
:program:`mongos` instance in the shard cluster.

.. index:: sharding; chunk size
.. _sharding-chunk-size:

Expand Down