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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0
    • Component/s: None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0
    • Sprint:
      Sharding 2021-02-22, Sharding 2021-03-08, Sharding 2021-03-22

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            jason.zhang Jason Zhang
            Reporter:
            jack.mulrow Jack Mulrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: