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

Miscellaneous mongos networking optimizations

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2024-3-18, Cluster Scalability 2024-4-1

      Small networking related optimizations in mongos:

      1. We parse the command result from each response but only inspect it if the request was a hedged read.
      2. The readReplyMetadata hook takes a StringData replySource, which requires the NetworkInterfaceTL to use toString() on a HostAndPort, but seemingly nothing uses replySource
      3. It looks like we copy a boost::optional<shared_ptr> on each call to AsyncDBClient::runCommand() when we can std::move it

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: