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

Make _cleanup only clear the DSS if the db exists

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.0
    • 3.7.9
    • 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

        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: