Skip to content

Commit 0fbae24

Browse files
author
Ed Costello
committed
DOCS365 add note/content that balancer window is in localtime
1 parent 8e61647 commit 0fbae24

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

source/administration/sharding.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,12 @@ be able to migrate chunks:
677677
db.settings.update({ _id : "balancer" }, { $set : { activeWindow : { start : "<start-time>", stop : "<stop-time>" } } }, true )
678678

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

684687
.. code-block:: javascript
685688

source/core/sharding-internals.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,14 @@ Once a balancing round starts, the balancer will not stop until the
382382
difference between the number of chunks on any two shards is *less
383383
than two.*
384384

385+
.. note::
386+
387+
The balancer can be restricted to operating between specific
388+
start and end times, see
389+
":ref:`Schedule the Balancing Window <sharding-schedule-balancing-window>`."
390+
These times will be evaluated relative to the time zone of each individual
391+
:program:`mongos` instance in the shard cluster.
392+
385393
.. index:: sharding; chunk size
386394
.. _sharding-chunk-size:
387395

0 commit comments

Comments
 (0)