Tighten the conditions for clearing the collection filtering metadata

XMLWordPrintableJSON

    • 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
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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:

      1. Log the reason for clearing of the filtering metadata so we have better traceability in the logs
      2. 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.

            Assignee:
            Unassigned
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: