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

Ensure drain of migrations pending recovery on FCV upgrade/downgrade

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-01-10

      SERVER-60834 added a barrier on setFCV after which it is guaranteed that no migrations are ongoing still using the old (on upgrade) or new (on downgrade) migration protocol. This barrier is implemented using the MigrationBlockingGuard. However, this is not enough to ensure that there are no migrations pending recovery (which no longer hold the ActiveMigrationRegistry).

      This ticket is to ensure that after this barrier, any migration pending recovery has also completed.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: