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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding, Storage
    • None
    • Fully Compatible
    • Sharding 2018-03-12

      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.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: