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

Make _cleanup only clear the DSS if the db exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.7.9
    • 4.0.0
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2018-05-21
    • 34

    Description

      If movePrimary fails, we call cleanupOnError which calls _cleanup. Currently we throw "ConflictingErrorInProgress" in _cleanup if the db doesn't exist. We should change this so that we only clear the dss if the dbexists, rather than throwing this error. If the db hasn't been created or if it has been dropped, there is nothing to clear.

      Attachments

        Issue Links

          Activity

            People

              janna.golden@mongodb.com Janna Golden
              janna.golden@mongodb.com Janna Golden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: