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

Fix resharding class mutex handling at time of PrimaryOnlyService instance completion

    • Fully Compatible
    • Sharding 2021-02-22, Sharding 2021-03-08
    • 1

      In resharding services, the mutex is held at completion time for longer than the explicit purpose of protecting the member promises. In these locations, reduce the scope of the mutexes to only protecting the promises.

      The current over-extension of these mutexes causes contention when trying to call interrupt().

      Locations:

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: