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

Initialize WireSpec during MONGO_INITIALIZER

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Service Arch 2020-07-27, Service Arch 2020-08-10

      We default initialize the WireSpec on first use here. Unfortunately, this means that we can set isInternalClient late like we do here. We should formally initialize the global WireSpec with a MONGO_INITIALIZER.

      It would also be nice if we allowed a TransportLayer to reference a specific WireSpec. It would allow us to switch during our testing or have both internal and external clients in process.

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: