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

Fix ShardNotFound handling in shard_removal_triggers_catalog_cache_invalidation.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0, 5.0.7
    • Affects Version/s: 5.2.0, 4.2.17, 5.0.5, 4.4.12
    • Component/s: None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v4.2
    • Sharding EMEA 2022-02-21
    • 41

      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.

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

              Created:
              Updated:
              Resolved: