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

Split ASIOSession into a Sync and an Async class

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch
    • Fully Compatible
    • Service Arch 2023-01-23, Service Arch 2023-02-06, Service Arch 2023-02-20, Service Arch 2023-03-06, Service Arch 2023-03-20, Service Arch 2023-04-03, Service Arch 2023-04-17

      See design. The high level goal of this task is to remove the need to ever call ensureSync and ensureAsync by introducing two implementations of the ASIOSession:

      • AsyncASIOSession
      • SyncASIOSession

      In practice there is no current use case where a Session goes from being Async -> Sync while it's being leased out. Because of this, the NetworkInterface should be able to return the right ASIOSession subclass to the user.

            Assignee:
            matt.diener@mongodb.com Matt Diener (Inactive)
            Reporter:
            matt.diener@mongodb.com Matt Diener (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: