[SERVER-2069] add window for balancing Created: 08/Nov/10  Updated: 12/Jul/16  Resolved: 10/Nov/10

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 1.7.3

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Alberto Lerner
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Comments   
Comment by Alberto Lerner [ 10/Nov/10 ]

In config.settings, there could be a document with _id : "balancer"

If we want balancing only during a specified window of time during the day , the following attribute should exist on that document

"activeWindow" :

{ "start" : <hh:mm> , "stop" : <hh:mm> }

where start and stop determine when the window is open. hh on the 24hour format (00-23)

The window may be open throughout the night, in which case "start" would be greater than "stop".

The possibility of stopping the balancer altogether stays unaltered.

"stopped" : true

Normally, should specify one or the other. If both are present, and any restricts balancing, that's what it is going to happen.

Comment by auto [ 10/Nov/10 ]

Author:

{'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}

Message: SERVER-2069 hook up ability to define balance window (syntax on the JIRA)
/mongodb/mongo/commit/b8fe9a96694423e77ff83c30f875db723a6cb444

Comment by auto [ 10/Nov/10 ]

Author:

{'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}

Message: SERVER-2069 unittest for window of balancing
/mongodb/mongo/commit/2bc8f5e0ade8476be7992194c3ed0899eb41572e

Comment by auto [ 09/Nov/10 ]

Author:

{'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}

Message: SERVER-2069 new attempt at cross-platform time parsing
/mongodb/mongo/commit/8e348439b2b6f0960627c322948b2ab1ec313fea

Comment by auto [ 09/Nov/10 ]

Author:

{'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}

Message: SERVER-2069 compile windows while the fix is pending, take 2
/mongodb/mongo/commit/1469e3b2583e51c32e12debe84d891f2a709e570

Comment by auto [ 09/Nov/10 ]

Author:

{'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}

Message: SERVER-2069 compile windows while the fix is pending
/mongodb/mongo/commit/8878022b77a759cd1bdb8b3526931a2f632e73bb

Comment by auto [ 09/Nov/10 ]

Author:

{'login': 'alerner', 'name': 'Alberto Lerner', 'email': 'alerner@10gen.com'}

Message: SERVER-2069 allow balancing only during a designated window; pending tests
/mongodb/mongo/commit/dd56085dbee13e12c91e994f6196fc58aef06304

Generated at Thu Feb 08 02:58:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.