Reevaluate `sharding/shard_aware_primary_failover.js` test

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The shard_aware_primary_failover.js test involves attempting to add a shard by updating its shard identity document with an update to the `admin.system.version` collection. It then shuts down the primary and verifies that the shardingState command returns the expected results, indicating that the shard has been successfully added to the sharded cluster.

      Firstly, we can achieve this using the addShard command.

      Secondly, there may be other tests already performing this behavior, and we may consider removing it.

            Assignee:
            Unassigned
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: