Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2022-02-07
Description
The chunk size for a specific collection is defined according to the following rules hierarchy:
- The collection specific chunk size maxChunkSizeBytes field in config.collection if set
- The global chunk size setting in config.settings.chunkSize if set
- The default global chunk size setting
Nevertheless, such criteria aren't respected when a chunk is being migrated out of a shard (more specifically, the wrong value may be taken into consideration when the "end of the catch up phase" condition is evaluated).