[SERVER-51890] Support multiple balancing windows within 24 hour period Created: 30/Oct/20  Updated: 05/May/23  Resolved: 05/May/23

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

Type: Improvement Priority: Major - P3
Reporter: Aayushi Mangal Assignee: [DO NOT USE] Backlog - Sharding EMEA
Resolution: Won't Do Votes: 0
Labels: sharding-common-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-5507 Add sharded per-collection settings (... Blocked
related to SERVER-24204 Balancer window to support days of th... Closed
Assigned Teams:
Sharding EMEA
Participants:
Case:

 Description   

As we could schedule balancing window in MongoDB for balancer, that it can we active between mentioned hours, that is great feature.

But it could be more useful if we could set it in reverse way, like when the balancer should not be active as:

1) Document says, balancer should stop while taking snapshot backup in order to achieve consistency.

2) In case we are taking backup twice a day, so a utility should be there such that, we could stop theĀ  balancer for that hour rest of all the time balancer will remain active.

In my actual case where snapshot backup is taken twice, so i can be able to active my balancer window within that time frame of 12 hours only. I would like to make balancer window enable for maximum hours and could be off only for that particular hours.



 Comments   
Comment by Cris Insignares Cuello [ 05/May/23 ]

We are working in other projects related to this.

Comment by Aayushi Mangal [ 02/Nov/20 ]

Thank you Eric for the updates, the problem could be more generalised as:

-if we can have utility to disable balancer window like we can be able to enable for particular hours,

  • we could disable it also as per requirement. Lets say, disable 2 hours (different time while backup is in progress) during 24 hours, so we can have balancer enable for maximum hours.
Comment by Eric Sedor [ 30/Oct/20 ]

Thanks aayushi.mangal@visiblealpha.com, we'll pass this on to an appropriate team for consideration:

Note i've rephrased the ticket slightly to view the problem more generally as offering the ability to configure multiple separate balancing windows within a 24 hour period.

Generated at Thu Feb 08 05:26:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.