Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26388

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding 2016-10-10

    Description

      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.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: