-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Performance, tech-debt
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.