Test performance of chunk migrations
Test
Move all 4 chunks, each containing 25k documents, from one shard to another.
Unless user specifies otherwise, uses default values for _secondaryThrottle (false for WiredTiger and true for MMAPv1), and _waitForDelete (false).
Uses moveChunk command
Results are reported as docs moved / sec.
Setup
Requires a sharded cluster.
Test inserts 100k documents, split evenly into 4 chunks, all initially located on rs0. Field a is indexed, containing uniformly random numbers. Note that the test maxes out at four moves to avoid a large number of moves if the cluster has many shards.
Owning-team
mongodb/sharding
- Source:
Members
(inner) majorVersion
The major version of the server required to infer the FCV in use.
- Source:
(inner) secondary_throttle
The value for the _secondaryThrottle parameter to the moveChunk command.
- Source:
(inner) wait_for_delete
The value for the _waitForDelete parameter to the moveChunk command.
- Source: