Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90861

Tighten the conditions for clearing the collection filtering metadata

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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:

      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 Unassigned
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: