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

make reIndex command use AutoGetDb to take DBLock rather than taking DBLock directly

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.7.3
    • Sharding, Storage
    • None
    • Fully Compatible
    • Sharding 2018-03-12

    Description

      This change will ensure the client's databaseVersion is checked for reIndex, because checkDbVersion() is called by AutoGetDb.

      Most commands already use AutoGetDb to take the DBLock; it looks like reIndex had just not been updated to do so.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi
            esha.maharishi@mongodb.com Esha Maharishi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: