The chunk diffing code serializes a ChunkType object to BSON and then deserializes it just so it can extract the chunk version. This is unnecessary and inefficient since the chunk version is already present in the chunk object.
- related to
-
SERVER-25652 Slow chunk migrations when there are large chunk counts. 3.0, 3.2, 3.3.11
- Closed