SERVER-76486 added a resume migrations call in the onCompletion callback, however, if there is a non-retriable error in a phase greater than kRemoteIndexValidation the migrations will be resumed when they shouldn't, because we have the forward progress until success guarantee. However, kRemoteIndexValidation is a validation phase that must happen without any migrations, and an error might be thrown in case we find some shard that does not have the index created, so, we should ensure that we resume migrations of the onCompletion callback only happens on non-retriable error in the kRemoteIndexValidation phase.
- is caused by
-
SERVER-76486 Make RefineShardKey coordinator authoritative on shards
- Closed