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

collection_uuid_index_commands.js fails when shard is unavailable

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Execution Team 2022-06-13
    • 20

      collection_uuid_index_commands.js expects all shards to fail dropIndexes with CollectionUUIDMismatch in a sharded cluster.
      However, in some suites, multi_shard_multi_stmt_txn_kill_primary_jscore_passthrough.yml for example, the primary is not always readily available. This means dropIndexes may fail with HostUnreachable if one of the shards doesn't have a primary instead of CollectionUUIDMismatch, causing the test to fail.

      The test could be made to accept HostUnreachable from shards when there is no primary on said shard, or be disallowed from running with failovers

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: