[SERVER-23696] Consolidate all balancer configuration into a single utility class Created: 13/Apr/16  Updated: 26/Apr/16  Resolved: 20/Apr/16

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 13 (04/22/16)
Participants:

 Description   

The balancer configuration consists of several values, whose parsing, setting and interpretation is currently scattered across various modules. We should consolidate all these places in one utility class so there is a single source from where they can be obtained.



 Comments   
Comment by Githook User [ 20/Apr/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-23696 Get rid of SettingsType

Splits all the functionality of SettingsType into the constituent
ChunkSizeSettings and BalancerSettings and moves it under the
BalancerConfiguration utility.
Branch: master
https://github.com/mongodb/mongo/commit/0e45dbdbfda0ff381308b37d75235cad1da3db54

Comment by Githook User [ 19/Apr/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-23696 Fix Windows link problem
Branch: master
https://github.com/mongodb/mongo/commit/44ee457b4625daffad797957a1fd9dc113fae238

Comment by Githook User [ 19/Apr/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-23696 Provide definition for const-expr to fix clang build
Branch: master
https://github.com/mongodb/mongo/commit/67c4cdae5ca86e628442ee4e5918996e989dd1f4

Comment by Githook User [ 19/Apr/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-23696 Remove usages of SettingsType in the CatalogManager

The SettingsType class contains a lot of functionality, which does not
belong in a simple parsing class and it should be merged into
BalancerConfiguration. This change removes its usages from the
CatalogManager.
Branch: master
https://github.com/mongodb/mongo/commit/af511b0a5a7808e7921359d4c8ac380474c04705

Comment by Githook User [ 19/Apr/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-23696 Consolidate balancer configuration into single class

In addition fixes linking dependencies.
Branch: master
https://github.com/mongodb/mongo/commit/ed3c29f86efcd7a7106bbc3426213f73b16872e9

Generated at Thu Feb 08 04:04:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.