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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0.5, 2.1.1
    • 2.0.4, 2.1.0
    • Concurrency, Sharding
    • None
    • All

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: