]
Sebastian Łaskawiec closed ISPN-6275.
-------------------------------------
Double invalidate of invalid Hot Rod connections
------------------------------------------------
Key: ISPN-6275
URL:
https://issues.jboss.org/browse/ISPN-6275
Project: Infinispan
Issue Type: Bug
Components: Remote Protocols
Affects Versions: 6.0.2.Final
Reporter: Dennis Reed
Assignee: Galder Zamarreño
Fix For: 8.2.1.Final, 9.0.0.Final
When there's a problem with a Hot Rod operation, RetryOnFailureOperation invalidates
the connection twice (once in a catch block, and once in a finally block).
This causes the GenericKeyedObjectPool counts to get off, and anything relying on that
count (such as the maxTotal configuration for the pool) to break.