Make _cleanup only clear the DSS if the db exists

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0
    • Affects Version/s: 3.7.9
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-05-21
    • 34
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Janna Golden (Inactive)
            Reporter:
            Janna Golden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: