-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.2.24, 7.0.1, 4.4.24, 6.0.10, 5.0.21, 7.1.0-rc3
-
Component/s: None
-
Sharding EMEA
-
Fully Compatible
-
v7.1, v7.0, v6.0, v5.0, v4.4
-
Sharding EMEA 2023-10-02
In the createCollection coordinator we accidentally copy all chunks after we serialize them. To avoid this copy we could simply use move semantic.
While in versions 6.0+ this is not particularly problematic because we usually do not have a huge number of chunks, in previous versions (<= 5.0) the number of chunks could be very high, on the order of millions.