-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
Sharding 2019-04-08
-
15
At the beginning of a chunk migration, before clearing all documents from the range to be received, the recipient shard checks no documents in that range could be in use, throwing RangeOverlapConflict and failing the migration if so. The fsm workloads random_moveChunk_broadcast_delete/update_transaction.js randomly move chunks between shards while running multi writes without the shard key (which are versioned in a transaction), so migrations can fail with this code and the tests should tolerate that.