-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
v8.1, v8.0, v7.0
-
CAR Team 2025-05-12
-
0
-
1
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Before waiting for range deletions to drain, the CheckOrphansAreDeleted helper waits for migration coordinators to drain.
Under some conditions, migrations that hit errors simply clear the filtering metadata and are expected to be lazily recovered. Recovery can happen either on step-up or upon serving the next query targeting the namespace (that triggers a migration recovery as part of the metadata refresh).
The CheckOrphansAreDeleted hook must take into account that migrations may not be recovered if there are no queries or step-down+up. A possible fix would be for it to proactively try querying a namespace that has outstanding migration coordinator documents.
- related to
-
SERVER-92484 Killing chunk migration session after commit can leave uncleaned orphan documents
-
- Blocked
-