-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 7.0.1, 7.1.0-rc4
-
Component/s: None
-
None
-
Sharding EMEA
-
Fully Compatible
-
ALL
-
v7.1, v7.0
-
Sharding EMEA 2023-08-07, Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04, Sharding EMEA 2023-09-18, Sharding EMEA 2023-10-02
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
- tested by
-
SERVER-78852 Test movePrimary and $out running concurrently
-
- Closed
-