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

Tenant migration donor instance state documents should be protected by a mutex

    • Fully Compatible
    • v5.0
    • Sharding 2021-02-22, Sharding 2021-03-08, Sharding 2021-03-22

      Each instance of the TenantMigrationDonorService maintains an in-memory copy of its underlying state document. This is written to by the main logic that drives a migration and may be concurrently read from other threads, e.g. for currentOp reporting. To avoid data races, the state document should be protected by a mutex.

            Assignee:
            jason.zhang@mongodb.com Jason Zhang (Inactive)
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: