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

Migration coordinator recovery task should bump the txnNumber on the session used to send _recvChunkStart

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2020-02-10, Sharding 2020-02-24
    • 43

    Description

      While working on SERVER-45339, we re-realized why we originally wanted to make the recovery task bump the txnNumber used to send _recvChunkStart.

      It is to prevent an old donor primary from sending _recvChunkStart after the new donor primary has already completed the recovery, because this would cause a new range deletion task to be written on the recipient that would never get cleaned up.

      This ticket should make the donor persist the lsid and txnNumber used to send _recvChunkStart again, and make the recovery task do a dummy write using the lsid and txnNumber + 1 on the recipient before sending the decision to the recipient.

      Attachments

        Activity

          People

            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: