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

Tenant migration timeout cancellation token is not used properly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Sharding 2021-02-22

      There was a large refactoring that removed theĀ `recipientSyncDataCommandCancelSource` token from the argument list of the `_sendRecipientSyncDataCommand` around line 637.

      Please see the current code where token becomes unused:
      https://github.com/mongodb/mongo/blob/ca9f854ac4b7f9197a0574f72e450a8317696286/src/mongo/db/repl/tenant_migration_donor_service.cpp#L629

            Assignee:
            jason.zhang@mongodb.com Jason Zhang (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: