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

The dropIndexes command should not hold the global lock throughout the duration of the command

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Index Maintenance
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-02-24
    • 37

    Description

      This is problematic when other threads need to take a stronger RSTL lock (MODE_S/MODE_X) for other server operations while the dropIndexes command is waiting for index builds to abort. Instead of holding the global lock throughout the duration of the dropIndexes command, we can check the replica set state when reacquiring the locks.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: