Ensure drain of migrations pending recovery on FCV upgrade/downgrade

XMLWordPrintableJSON

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

      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
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: