[SERVER-20557] Active window setting is not being processed correctly Created: 22/Sep/15  Updated: 04/May/16  Resolved: 24/Sep/15

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.0.6
Fix Version/s: 3.0.7

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-19948 The balancingWindow does not work Closed
is duplicated by SERVER-24035 balancer does not respect active window Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding A (10/09/15)
Participants:

 Description   

As of v3.0.6, the activeWindow subdocument is being passed to the grid::_inBalancingWindow although the method expects the full settings document:

https://github.com/mongodb/mongo/blob/r3.0.6/src/mongo/s/grid.cpp#L509

This is fixed in master with this commit:

https://github.com/mongodb/mongo/commit/30c9fa8ef46c1c6a0951a0d8ab724991e5cc04e2



 Comments   
Comment by Ramon Fernandez Marina [ 03/Dec/15 ]

oleg@evergage.com, I would recommend consulting the changelog to determine whether to upgrade to a new dot release, which contains more detailed information about the issues fixed. SERVER-20577 is called out in the sharding section. You can also see this information in JIRA if you prefer that format.

Regards,
Ramón.

Comment by Oleg Rekutin [ 24/Nov/15 ]

This means that the balancer will balance outside of the active window, which is a nasty surprise, operationally-speaking.

Can this issue please be called out explicitly in the release notes list? https://docs.mongodb.org/manual/release-notes/3.0/ I want to help others realize that this is a problem with 3.0.6.

Comment by Githook User [ 24/Sep/15 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-20557 Active window setting is not being processed properly
Branch: v3.0
https://github.com/mongodb/mongo/commit/3eb8377e0b3d6e64a4768182117c3d17cafa472f

Generated at Thu Feb 08 03:54:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.