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

Initialize WireSpec during MONGO_INITIALIZER

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • None
    • Fully Compatible
    • Service Arch 2020-07-27, Service Arch 2020-08-10

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: