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

Tenant migration recipient needs to interrupt all operations on recipientForgetMigration

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Serverless
    • ALL
    • 149

    Description

      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.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: