SettingsType should do all validation and default value determination

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2 04/24/15, Sharding 3 05/15/15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Daniel Alabi (Inactive)
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: