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

Acquires MODE_IX lock during collMod index scan to allow stepdown kills the operation

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-02-07

    Description

      Currently the scan holds a MODE_IS lock which will continue during a stepdown doing waste of work. Although the index scan itself doesn't modify the data in the collection, it has the intention to later write to the collection with the collMod convert to unique. This will still allow concurrent writes to the collection.

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: