-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Catalog and Routing
-
CAR Team 2024-05-27, CAR Team 2024-06-10
Clearing the collection filtering metadata is not a safe operation and must only be done by coordinator-like entities and must only happen under a critical section. This ticket has two purposes:
- Log the reason for clearing of the filtering metadata so we have better traceability in the logs
- Add invariants/tasserts that the clearing only happens under the critical section. If any violations of this exist, document them and see if there is a better programming pattern to achieve them.
- has to be done after
-
SERVER-90864 createCollection Coordinator might clear the filtering metadata without holding the critical section
- Closed
- is related to
-
SERVER-90864 createCollection Coordinator might clear the filtering metadata without holding the critical section
- Closed