(add option to?) toggle autoSplit in start/stopBalancer, or add runtime enableAutoSplit helper?

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding 2016-10-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are two issues here:

      1) A ShardingTest can be started with autosplit enabled or disabled through the "enableAutoSplit" option. Autosplit can be disabled later through st.disableAutoSplit(), but there is no helper to re-enable it.

      2) If not specified, enableAutoSplit defaults to the enableBalancer setting (which defaults to false). However, autosplit is not toggled on start/stopBalancer. Should it be?

      Note: On 3.2, re-enabling autosplit at runtime would require restarting mongoses.

            Assignee:
            Esha Maharishi (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: