-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 6.0.0, 7.0.0, 8.0.0, 8.2.0-rc0, 8.1.0
-
Component/s: None
-
None
-
Catalog and Routing
-
ALL
-
CAR Team 2025-06-23
-
0
-
None
-
3
-
TBD
-
🟥 DDL
-
None
-
None
-
None
-
None
-
None
-
None
The getAllShards function in the catalog client returns a StatusWith which generally implies that it won't throw a DBException and will instead return any errors as a status. However, we assert that the find command worked, causing places which aren't expecting this function to throw to fail.
In line with the current recommendations on exceptions and statuses, we should just convert this function to throw always rather than return a status.
- related to
-
SERVER-104223 Failures in preWarmConnectionPool() will cause mongos to fail startup
-
- Closed
-