[GODRIVER-1898] SDAM error handling changes for load balanced clusters Created: 24/Feb/21  Updated: 28/Oct/23  Resolved: 24/Mar/21

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

Type: New Feature Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Load Balancer Support
Quarter: FY22Q2

 Description   

For load balanced clusters, the driver must never mark servers as Unknown to avoid making the load balancer itself unselctable. Additionally, connection pool clears should only close connections that have the same serverId as the connection that encountered an error. The final change required is to add a ServerID field to PoolEvent and populate it with the server ID of the connection that errored in PoolCleared events.



 Comments   
Comment by Githook User [ 24/Mar/21 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1898 SDAM error handling changes for LB mode (#611)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/caeb478ef6d37665a42678daa86199014e3a5271

Comment by Divjot Arora (Inactive) [ 16/Mar/21 ]

https://github.com/mongodb/mongo-go-driver/pull/611

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