[GODRIVER-1442] Fix connection error handling in ProcessError Created: 16/Dec/19  Updated: 28/Oct/23  Resolved: 17/Dec/19

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

Type: Bug 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

Issue Links:
Related
is related to GODRIVER-1439 Only close heartbeat connections afte... Closed

 Description   

For SDAM error handling in the Server.ProcessError and Server.heartbeat functions, the driver checks if errors are of type ConnectionError. However, the lower level operation layer returns these as driver.Error with a NetworkError label.



 Comments   
Comment by Githook User [ 17/Dec/19 ]

Author:

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

Message: GODRIVER-1442 Fix connection error handling in topology.Server (#259)
Branch: release/1.2
https://github.com/mongodb/mongo-go-driver/commit/d810656096da1dc6c81b5c692bec288babf40516

Comment by Githook User [ 17/Dec/19 ]

Author:

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

Message: GODRIVER-1442 Fix connection error handling in topology.Server (#259)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/ca416d3887a4551abe7e319211fcc4d3ae75ffe5

Comment by Divjot Arora (Inactive) [ 16/Dec/19 ]

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

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