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

cleanupOrphanedWhileMigrating.js retries the split collection command indefinitely if fails

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-05-30

    Description

      The local function executeCommandWithRetries is not using the input parameter retries, so it's actually retrying the command forever if the command always returns a failure.

      An alternative solution is to use the assert.soonNoExcept function to retry the command in case of an exception occurs.

      Attachments

        Activity

          People

            silvia.surroca@mongodb.com Silvia Surroca
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: