-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.4
-
Sharding 2020-04-06
-
32
When we submit ranges for deletion on recipient shards, we submit them through the onUpdate OpObserver when an update is received to remove the 'pending' flag from a document in config.rangeDeletions. This submits an async task which will eventually cause the range to be deleted. The problem is that if the deletion task reaches this line before the commit of the update that triggered it, then it may find that the update has not yet occurred, leading this task to be abandoned. This will lead to orphaned documents until failover, a consequence of which is that incoming migrations for that range will be blocked.
- is related to
-
SERVER-46395 Resumable range deleter can submit duplicate range deletion tasks on step up
- Closed