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

Fix stale_mongos_and_restarted_shards_agree_on_shard_version.js to exclude failed refreshes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2021-04-05
    • 131

    Description

      An assert of stale_mongos_and_restarted_shards_agree_on_shard_verion.js is checking how many full refreshes are done in a very specific scenario. The problem is that this test would like to check how many full refreshes were completed but what it is actually checking is how many full refreshes were started.

      In order to fix that we could decrement the countFailedRefreshes counter. Nnote that this counter includes failed incremental AND failed full refreshes, but I think that for this case it is ok.

      Attachments

        Activity

          People

            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: