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

Allow chunkSize to be changed dynamically

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None

      It's odd that chunk size is initially set when the first mongos is started. It's also strange the the --chunkSize flag can't be used to change chunk size once it's been set.

      I propose removing the --chunkSize flag from mongos altogether. Then have some command to mechanism for setting chunk size if users so desire it. e.g.:

      db.runCommand(

      {setchunksize: 128}

      )

            Assignee:
            Unassigned Unassigned
            Reporter:
            kbanker Kyle Banker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: