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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.5, 2.1.1
    • Affects Version/s: 2.0.4, 2.1.0
    • Component/s: Concurrency, Sharding
    • None
    • Environment:
      All

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

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

              Created:
              Updated:
              Resolved: