Support non-OCS client on mongos loadBalancer port

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0, v7.0
    • Security 2025-02-17
    • 3
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Goals

      • Support non-OCS clients (without {loadBalanced: true}

        ) on mongos' proxy protocol (loadBalancer) port.

      • Keep supporting OCS clients on mongos' proxy protocol port.
      • Ensure serviceId is not returned to non-OCS clients.
      • Ensure AsioSessionManager::_loadBalancedConnections is correctly updated
        • This parameter tracks the number of OCS clients (which includes {loadBalanced: true}

          in their hello) and must continue to do so.

            Assignee:
            Shreyas Kalyan
            Reporter:
            Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: