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

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.0.4, 2.1.0
    • 2.0.5, 2.1.1
    • 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: