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

Fix resharding class mutex handling at time of PrimaryOnlyService instance completion

    XMLWordPrintableJSON

Details

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

    Description

      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:

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: