[GODRIVER-3108] Optimize writeServerSelector Created: 26/Jan/24  Updated: 30/Jan/24  Resolved: 29/Jan/24

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.14.0

Type: Task Priority: Unknown
Reporter: Steve Silvester Assignee: Preston Vasquez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Assigned Teams:
Go Drivers
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Context

This was a PR opened by an external contributor: https://github.com/mongodb/mongo-go-driver/pull/1509.
Optimize allocations of Server slices during writes.

Definition of done

Add new benchmark test to validate change.

Pitfalls

None



 Comments   
Comment by Githook User [ 30/Jan/24 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: GODRIVER-3108 [master] Optimize writeServerSelector (#1530)

Co-authored-by: Ivan Sopov <isopov@joom.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/43797ef096f00b1434daaba5e6eb1598485f89ac

Comment by Githook User [ 26/Jan/24 ]

Author:

{'name': 'Ivan Sopov', 'email': 'isopov@joom.com', 'username': 'isopov'}

Message: GODRIVER-3108 Optimize writeServerSelector (#1509)

Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com>
Branch: v1
https://github.com/mongodb/mongo-go-driver/commit/1fd1bc2978d1aa163e39258334e9421d1464da23

Generated at Thu Feb 08 08:40:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.