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

Make _cleanup only clear the DSS if the db exists

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.7.9
    • Fix Version/s: 4.0.0
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2018-05-21
    • Linked BF Score:
      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

              Assignee:
              janna.golden Janna Golden
              Reporter:
              janna.golden Janna Golden
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: