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

Test infrastructure does not handle config server stepdowns on ManualInterventionRequired errors

    • Fully Compatible
    • ALL
    • v5.0
    • Hide

      1. Include the manual intervention helper
      2. Set FCV version 4.4
      2. Shard a collection and step down the node before writing the config.collections entry
      3. Step down the config server when the script is trying to clean up the config.chunks collection

      Show
      1. Include the manual intervention helper 2. Set FCV version 4.4 2. Shard a collection and step down the node before writing the config.collections entry 3. Step down the config server when the script is trying to clean up the config.chunks collection
    • Sharding EMEA 2021-06-28
    • 158

      The legacy shard collection path is prepared to detect and warn about leftover metadata if finds entries on config.chunks when sharding a collection. There is a helper script that, if included, automatically tries to clean up config.chunks but, this helper is not ready to handle if the config server steps down when cleaning the metadata.

      We could add a try/catch block and retry if there is any stepdown error.

        1. BF-21548.patch
          2 kB
        2. check_manual_intervention.js
          2 kB

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: