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

collection_uuid_index_commands.js fails when shard is unavailable

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Execution Team 2022-06-13
    • 20

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: