NOTE
The balancer window must be sufficient to complete the migration of all data inserted during the day.
As data insert rates can change based on activity and usage patterns, it is important to ensure that the balancing window you select will be sufficient to support the needs of your deployment.
Do not use the sh.startBalancer() method when you have set an activeWindow.
上面是官方的警告:
我就想知道,如果在设置窗口的时间段没有完成数据迁移,当时间到达时,正在数据迁移会有什么后果。
请讲解下
而且我发现这个窗口设置在那里并没有什么用啊
balancer:
Currently enabled: yes
Currently running: yes
Balancer lock taken at Mon Jun 29 2015 18:23:23 GMT+0800 (CST) by cst.test.112:30000:1435563625:1804289383:Balancer:846930886
Balancer active window is set between 13:00 and 15:00 server local time
Collections with active migrations:
wy_test.Test started at Mon Jun 29 2015 18:23:24 GMT+0800 (CST)
Failed balancer rounds in last 5 attempts: 0
Migration Results for the last 24 hours:
13 : Success