isShardedClusterUsingReplicasets() should check all shards

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      FunctionalTestCase::isShardedClusterUsingReplicasets() currently only checks the first document in the config.shards collection. I believe it's possible for each shard to be independently configured (e.g. one shard is a standalone, another is an RS), so it would be prudent for the method to check all results and only return true if all shards use replica sets.

            Assignee:
            Unassigned
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: