-
Bug
-
Resolution: Won't Do
-
Major
-
JDG 7.1.2 GA, JDG 7.2.3 GA
if a Java hotrod client will use the following properties
infinispan.client.hotrod.socket_timeout = 3000
infinispan.client.hotrod.max_retries = 0
AKA
remoteBuilder.maxRetries(0).socketTimeout(3000);
the behaviour is somewhat different and the client will not fail after 3000ms as expected if the server is not responsive.
scenario 1 failureWithSuspending.log
Client will use the properties and do put; after that the server is suspended by CTRL-Z; client will do a get and fail after 6sec; 3sec to fail and another 3 to retry the connection (which is unexpected)
scenario 2 failureWithDisconnect.log
Client will use the properties and do put; after that the server get disconnected by cutting the network cable; then client will do a get and fail after 37sec;seems that it will fail for the first read, and fall back to 10 retries to get a new connection as the IP might not be reachable