Use the maxChunkSize from configureCollectionAutoSplit

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      One of the options in the configureCollectionAutoSplit commands is to set the per-collection chunk size. However, this value is not actually being used currently. We should start using this setting for the balancer and autosplitter.

      On shards, we should read the value from the catalog cache. This will be up to date since configureCollectionAutoSplit triggers a refresh on all shards.

      In the balancer, we should update the refresh function to use the catalog cache as well. It should refresh in the next balancer round and get the new settings.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: