-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
2
The Recoverable Critical Section is currently clearing the filtering metadata in secondary nodes, leaving the responsibility of properly handling the filtering metadata on the primary node to the caller. This is error prone, see for example SERVER-78496.
The goal of this ticket is to make this utility safer, clearing the filtering metadata on all nodes as part of blocking reads and writes in contrast to doing it when releasing the Critical Section only in secondary nodes.
Whoever takes this ticket should also think about multiversion implications, whether it would be fine to remove the existing code and add the new one or we should keep both for the next versions.
- is related to
-
SERVER-90861 Tighten the conditions for clearing the collection filtering metadata
- Backlog
- related to
-
SERVER-90864 createCollection Coordinator might clear the filtering metadata without holding the critical section
- Closed