This ticket is the shard-side counterpart of SERVER-25527. We should change the logic of splitChunk and moveChunk to check for the presence of the chunkVersion field as part of the request and if it is present to ensure that the chunk being changed has the matching version instead of just checking the collection version.
This is necessary in order to be able to get rid of the collection distributed lock during these operations and to make them idempotent.
- is related to
-
SERVER-25527 Send the version of the chunk being moved as part of the shard moveChunk and splitChunk commands
- Closed