Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1455

Store HelloCommandResponse instead of HelloReply on ServerDescription

      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 Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: