Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2022-02-21
Description
The logic implemented by the balancer to retrieve, submit and acknowledge defragmentation commands from the policy involves multiple object copies (1, 2) that could be replaced with {{std::move()}}s.
The case of SplitInfo is particularly problematic, as it might involve the copy of a std::vector<BSONObjs> containing thousands of elements.