Don't empty connection pool on every RuntimeException (JAVA-589)

[JAVA-1002] 3.0: Don't empty connection pool on every RuntimeException Created: 11/Oct/13  Updated: 31/Mar/15  Resolved: 11/Oct/13

Status: Closed
Project: Java Driver
Component/s: Connection Management
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Sub-task Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Implement in 3.0



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Jeffrey Yemin [ 11/Oct/13 ]

Fixed as part of 3.0.x rewrite. Now the pool is only cleared on a socket exception. See

https://github.com/mongodb/mongo-java-driver/blob/3.0.x/driver/src/main/org/mongodb/connection/impl/DefaultConnectionProvider.java#L164

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