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

Make ServiceContext::getTransportLayer return a TransportLayerManager

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2023-10-16, Service Arch 2023-10-30
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      Now that there can be multiple transport layers configured for one service context with gRPC, we should make ServiceContext::getTransportLayer return a TransportLayerManager, so that we can separately deal with the configured egressLayer and the different ingressLayers when we get the TL from the service context.

      We will also want to add on a `getEgressLayer()` function to TransportLayerManager so that we can access the specific egress layer, and downcast it to a gRPC or Asio TL.

            Assignee:
            erin.mcnulty@mongodb.com Erin McNulty
            Reporter:
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: