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

Tenant migration recipient needs to interrupt all operations on recipientForgetMigration

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

      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:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: