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

Make MigrationSourceManager send _recvChunkStart to recipient shard as a retryable write

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2020-01-27, Sharding 2020-02-10

      The MigrationSourceManager should send _recvChunkStart with an lsid and txnNumber.

      _recvChunkStart should be added to the list of commands that can be sent with lsid and txnNumber.

      _recvChunkStart should write the pending rangeDeletion entry using the retryable writes machinery. It can check out the session and call TransactionParticipant::beginOrContinue from inside the command body, similar to what the coordinateCommitTransaction command does.

       

      This ticket should also make the recipient shard expect _recvChunkStart to be sent as a retryable write if the recipient is in FCV 4.4.

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

              Created:
              Updated:
              Resolved: