For collection with hashed keys as shard key, the record counts in chunks are varied, some may contains millions of records, other may contains a few thousands.
This would lead to OOM exception during snapshot phrase if a chunk contains millions of records.
This feature use SampleBucketSplitStrategy instead of ShardedSplitStrategy to avoid this OOM situation.
For collection with hashed keys as shard key, the record counts in chunks are varied, some may contains millions of records, other may contains a few thousands.
This would lead to OOM exception during snapshot phrase if a chunk contains millions of records.
This feature use SampleBucketSplitStrategy instead of ShardedSplitStrategy to avoid this OOM situation.