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

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

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

                Dates

                Created:
                Updated:
                Resolved: