[GODRIVER-563] The writeSelector property in the mongo.Database struct should include the LatencySelector Created: 17/Sep/18  Updated: 28/Oct/23  Resolved: 30/Oct/18

Status: Closed
Project: Go Driver
Component/s: Server Selection
Affects Version/s: None
Fix Version/s: 0.0.18

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Isabella Siu (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-2136 ChangeStream server selectors should ... Closed

 Description   

All ServerSelector instances created in mongo package should append the LatencySelector. This is done properly with the readSelector in Collection and Database, but not the writeSelector. This will cause the driver to send writes to mongos servers that exceed the latency threshold.



 Comments   
Comment by Githook User [ 30/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabella.siu@10gen.com'}

Message: GODRIVER-563 Add latencySelector for writeSelector property in mongo.Database and mongo.Collection

Change-Id: I323d44542822c865e9016be38ca97c35738ca130
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/97764fe9b4ab413c01a59c17f54b59e785f5f649

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