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

Simplify the usage of the Recoverable Critical Section, clearing the filtering metadata in all nodes when blocking both reads and writes

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

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: