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

Detect connections made via the Proxy Protocol

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Code Review
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.1 Required
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Service Arch 2021-09-06, Service Arch 2021-09-20, Service Arch 2021-10-04
    • Story Points:
      7

      Description

      We should detect when a connection is made via the Proxy Protocol, and if so, when a new Client is created, we should mark it as having been created through a load balancer (e.g. via a boolean flag isFromLoadBalancer).

      We'll need to figure out the best way to test this:

      • Rely on driver's tests?
      • Talk to Evergreen to add a "load balancer" build variant?
      • Use mongobridge?

      Either way we should talk to Driver's and see what they do for tests.

      If the testing is too much work, whoever works on this can split it into another ticket. It might be worth considering the testing concerns first in case we need to coordinate with other teams.

      This ticket is timeboxed at 7 points, so if testing takes longer then another ticket will be required.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tyler.seip Tyler Seip
              Reporter:
              matthew.saltz Matthew Saltz
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: