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

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

    XMLWordPrintable

Details

    • Fully Compatible
    • Sharding 2021-04-05

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: