[JAVA-2078] Java Driver may invalidate connectionPool twice for an exception Created: 07/Jan/16  Updated: 11/Sep/19  Resolved: 07/Jan/16

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

Type: Task Priority: Major - P3
Reporter: Yize Li [X] Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In DefaultConnectionPool.java a pooled connection invalidate the connection pool by invoking incrementGenerationAndOnSocketException and then propagate it to upper level. Then in DefaultServer.java, ProtocolExcecutor catches the exception and invalidate the connection
pool again. I don't know why it is like that.



 Comments   
Comment by Jeffrey Yemin [ 07/Jan/16 ]

Duplicates JAVA-2077

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