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

Fix ShardNotFound handling in shard_removal_triggers_catalog_cache_invalidation.js

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 5.2.0, 4.2.17, 5.0.5, 4.4.12
    • 5.3.0, 5.0.7
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v4.2
    • Sharding EMEA 2022-02-21
    • 41

    Description

      The test is trying to handle the non-idempotency of removeShard (SERVER-32553) by checking for ShardNotFound error . However, the check is wrongly preceded by an assert.CommandWorked that throws before being able to check the error code.

      Attachments

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: