[GODRIVER-1620] pool cleared on network timeout errors Created: 20/May/20  Updated: 28/Oct/23  Resolved: 27/May/20

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

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-1613 fix how Pool handles MaxPoolSize Closed

 Description   

GODRIVER-1442 attempted to fix this but is subtly wrong. The unwrapConnectionError helper should unwrap driver.Error twice: once to get the underlying ConnectionError, and once to get the underlying net.Error or context error.



 Comments   
Comment by Githook User [ 27/May/20 ]

Author:

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

Message: GODRIVER-1620 Correctly unwrap network errors for SDAM error handling (#410)
Branch: release/1.3
https://github.com/mongodb/mongo-go-driver/commit/eced6de1b95d14bf1f317aa3002cac59b9196ca1

Comment by Githook User [ 27/May/20 ]

Author:

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

Message: GODRIVER-1620 Correctly unwrap network errors for SDAM error handling (#410)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/0c7911fa65f9d8c6f35ede3e27b3ad26050dac8f

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