Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
Sharding
-
Fully Compatible
Description
Since a migration can potentially run without a distributed lock if the balancer restarts and abandons its active migration, there's a possibility – though slim – that a split occurs on the chunk that is moving and then the migration tries to commit.
If the balancer holds the distlock again, and the collection version epoch still matches, the commit command then looks for the chunk in the config.chunks collection.
It currently looks for an exact match, but this could be changed to allow for splitting.