-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2026-04-27
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Add a configurable retry limit to the while (true) loop in _recoverCollectionMetadataFromDisk. The three continue sites (joining a concurrent critical section/refresh, a failed initial pass, and an invalidating oplog entry during drain) should all count toward the cap.
Once exhausted, fail with a clear error that propagates to router or shard role loop, which can retry at a higher level. Log at higher severity when approaching or exceeding the limit.
- related to
-
SERVER-125974 Investigate best retry limit for authoritative refresh
-
- Backlog
-
-
SERVER-125973 Increase max retries to 100 for authoritative refresh
-
- Closed
-