Store HelloCommandResponse instead of HelloReply on ServerDescription

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We currently store a HelloReply on ServerDescription as convenient way to store the data a ServerDescription needs. HelloReply contains a copy of the raw hello response though, which ServerDescription doesn't need. Descriptions are cloned a lot during topology updates and server selection, so we should just store the HelloCommandResponse directly to reduce the amount of data that is cloned and possibly improve performance.

            Assignee:
            Unassigned
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: