Optimize supportsReplicaSetEndpoint check

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Cluster Scalability 2024-2-5
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The helper should check the feature flag, the clusterRole and the "hasTwoOrMoreShards" cluster parameter separately from _isConfigShard so that we don't take the ReplicaSetEndpointShardingState's mutex unless we need to.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: