[SERVER-61848] Use the maxChunkSize from configureCollectionAutoSplit Created: 02/Dec/21  Updated: 27/Oct/23  Resolved: 15/Dec/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-62077 Complete TODO listed in SERVER-61848 Closed
Participants:

 Description   

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.


Generated at Thu Feb 08 05:53:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.