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

When applying changes in MigrateStatus::apply(), acquire the lock for each change, not for all changes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0.4, 2.1.0
    • Fix Version/s: 2.0.5, 2.1.1
    • Component/s: Concurrency, Sharding
    • Labels:
      None
    • Environment:
      All

      Description

      MigrateStatus::apply() acquires a write lock while iterating over all updates that need to be applied, without yielding.

        Attachments

          Activity

            People

            Assignee:
            benjamin.becker Ben Becker
            Reporter:
            benjamin.becker Ben Becker
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: