Tenant migration recipient needs to interrupt all operations on recipientForgetMigration

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • ALL
    • 149
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We should make sure to set the _importedFilesPromise when the shard merge is interrupted when receiving "recipientForgetMigration" command from the donor if the shard merge has not yet finished (the shard merge wasn't waiting yet for the forget command)

      We can add a new test to cover the fact that after a shard merge is interrupted during _waitForOplogApplierToStop due to a step up on a recipient secondary. After the step up calling `forgetMigration` on the donor should no longer hang (just like in this test for example)

      Part of this change should also to address the existing test that was just mentioned. We should no longer use the tag `incompatible_with_shard_merge` within that test.

       

            Assignee:
            [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: