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

Retake the collection critical section on step up (in drain mode)

    • Fully Compatible
    • Sharding 2021-04-05

      The goal of this ticket is to retake the in-memory collection critical section when we are stepping up (but still in drain mode).

      The idea is that while we are in drain mode we have to traverse all docs in config.collectionCriticalSections. For each document, we have to take the in-memory critical section in the right phase, clear the filtering metadata and spawn a task that refreshes the collection metadata through onShardVersionMismatch function.

            Assignee:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: