-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2022-09-19
jordi.serra-torrens@mongodb.com pointed out that there may be a very improbable but still relevant bug after the changes committed under SERVER-69555.
The migration coordinator is asking the recipient to unset the pending field (in case of commit) or delete the range deletion document (in case of abort).
Since targeting is not done anymore by migrationId, it may happen the following:
- An update/delete on the recipient succeeds, but the request gets stuck in the network and is also retried after 1 hour.
- After 1 hour, a new migration involving the same range may be happening, and the update/deletion would be wrongly applied.
- causes
-
SERVER-91970 Wait for overlapping range deletion tasks to be cleared up on the donor side before starting a migration
- Closed