SERVER-135599ClosedFixed
Invalidate plan cache when validator-inferred types change
Validator MatchExpression inference produces a SchemaTypeInfo containing inferred field types used by query planning optimizations. When the collection validator or validation level changes, these inferred types may become stale while existing cached plans continue to be reused. Update plan-cache invalidation so that changes to validator-derived inferred types invalidate affected cached plans. Initially, use collection-wide invalidation by reusing the existing collection cache invalidation me