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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.3
    • Component/s: Sharding, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: