-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
Dropping a shard-local / untracked collection does not clear its CSS. ShardServerOpObserver::onDropCollection currently leaves filtering metadata in place, so an UNTRACKED (or other) CSS token can survive after the local collection is gone.
This mainly shows up for drops that bypass the sharding protocol: direct connections to a shard, and internal drops via DBDirectClient. Combined with create paths that install UNTRACKED on non DB-primary shards (see SERVER-133352), the leftover CSS is reported by checkMetadataConsistency under 9.0 FCV.
Ideally, those drops leave CSS consistent with the authoritative model, so leftover filtering metadata is not something developers have to remember to clean up or work around.
- is related to
-
SERVER-133352 Stop installing UNTRACKED CSS for shard-local and temporary collections on non DB primary shards
-
- Needs Scheduling
-