[SERVER-18156] SettingsType should do all validation and default value determination Created: 21/Apr/15 Updated: 19/Sep/15 Resolved: 30/Apr/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.3 |
| 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, Sharding 3 05/15/15 |
| Participants: |
| Description |
|
Currently SettingsType is used for two global settings: balancer and chunk size and the extraction of each of these two values is all over the code. Instead of doing this, we should have two methods - getChunkSize and getBalancerSettings/isBalancerEnabled and these methods should do all the parsing and interpretation of the fields on the document. |
| Comments |
| Comment by Githook User [ 30/Apr/15 ] |
|
Author: {u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}Message: Removed s/balancing_window_test.cpp. |