-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2025-10-27, CAR Team 2025-11-10, CAR Team 2025-11-24, CAR Team 2025-12-08, CAR Team 2025-12-22, CAR Team 2026-01-05, CAR Team 2026-01-19, CAR Team 2026-02-02, CAR Team 2026-05-11
-
1
-
🟥 DDL
-
None
-
None
-
None
-
None
-
None
-
None
PlacementHistoryCleanUpJob does not appear to have any unit test nor jstest. Moreover, the fact that it only does meaningful work when the number of placement history entries gets above a certain threshold, that is hardcoded to a very large number (100k), means that in practice this task is almost certainly never tested.
It is true that ShardingCatalogManager::cleanUpPlacementHistory does have unit tests, but all this code is not covered anywhere.
Â
Â
- is depended on by
-
SERVER-125768 Complete TODO listed in SERVER-108231
-
- Closed
-
- is duplicated by
-
SERVER-108231 Add exhaustive test coverage for the PlacementHistoryCleaner periodic job
-
- Closed
-
- is related to
-
SERVER-109887 Consider making PlacementHistoryCleanUpJob frequency and thresholds configurable
-
- Closed
-
- related to
-
SERVER-125768 Complete TODO listed in SERVER-108231
-
- Closed
-
-
SERVER-86278 Investigate discrepancy between ShardLocal and ShardRemote aggregations
-
- Closed
-