[SERVER-18122] Move sharding global settings retrieval to the catalog manager Created: 20/Apr/15  Updated: 19/Sep/15  Resolved: 23/Apr/15

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

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2 04/24/15
Participants:

 Description   

Currently global sharding settings are retrieved through the Grid object via Grid::shouldBalance, Grid::getBalancerSettings, Grid::getConfigShouldBalance, Grid::getConfigSetting.

All these methods should go away and be replaced by a CatalogManager::getGlobalSetting call, which returns a settings object.

This and the type_settings.* files should go under the catalog manager.



 Comments   
Comment by Githook User [ 23/Apr/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-18122 Move sharding global settings retrieval to the catalog manager

Also moved type_settings* to src/mongo/s/catalog/
Branch: master
https://github.com/mongodb/mongo/commit/53f42ea16712e4156277dec98b967fe6a9a7b906

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