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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: