-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2026-06-08, CAR Team 2026-06-22
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
ShardCatalogHistoryCleanup is a component in charge of cleaning up stale, unreachable, unowned chunks that were preserved to support PIT reads.
There are some caveats about the current implementation:
- Serialization with chunk operations
- Serialization with DDLs
- Inconsistent state about collection entries and chunks
We need to rewrite it in a simpler way that ensures the cleanup job modifies the shard catalog consistently, as the current implementation does not guarantee that.
This cleanup job only impacts performance in situations where, upon refreshing from disk, the shard has a large number of unreachable unowned chunks on disk. In any case, this is necessary for durability and correctness.
- is depended on by
-
SERVER-127966 [Dup] Revert ShardCatalogHistoryCleanup
-
- Closed
-