Details
Description
This was found through code inspection. The moveChunk command under CSRS will terminate the donor shard instance if the applyOps command returns a notMaster status. In particular, this line and the handling here.
While we are at it, we should also get rid of the try/catch block around applyChunkOpsDeprecated because this method should never throw in 3.2.
The splitChunk command will also benefit from the same retry logic.