Details
Description
movePrimary may fail on the clone phase with error 7118501 when $out is executed at the same time.
The sequence of events to end up with the mentioned error is:
$out operation starts
the temporal collection for $out is created
movePrimary starts
movePrimary starts the clone phase
$out operation fails with a MovePrimaryInProgress error
the temporal collection is dropped here
movePrimary finishes the clone phase
movePrimary fails here because cloned collections don't match with the expected collections to clone
Attachments
Issue Links
- tested by
-
SERVER-78852 Test movePrimary and $out running concurrently
-
- Closed
-