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

Reevaluate `sharding/shard_aware_primary_failover.js` test

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

      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 Unassigned
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: