-
Bug
-
Resolution: Done
-
Major
-
None
-
4.2.1.FINAL
-
None
RetryOnFailureOperation is not logging exceptions that lead to a retry correctlty and this is hiding a crucial exception to clarify JBPAPP-6113. So, here's the log:
211988 TRACE [org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation] (Runner - 0:) Exception encountered. Retry 4 out of 40
So, what exception was encountered? No idea. Why? Log code is:
log.trace(message, i, transportFactory.getTransportCount(), te);
Which translates to talking to "void trace(Object message, Object... params);" which won't print the stacktrace as cause.
Instead, the log code should be:
log.trace(message, te, i, transportFactory.getTransportCount());
So that it uses "void trace(Object message, Throwable t, Object... params);"
Verify master as well.