Details
-
Bug
-
Resolution: Done
-
Major
-
10.1.0.Final
-
DataGrid Sprint #38, DataGrid Sprint #39
Description
Replicated non-tx caches without stores have an optimization for get operations to bypass the interceptor chain and query the data container directly. The optimization was added with the non-blocking listener changes, in order to compensate their overhead, but it only covered get() and getAsync(), while the HotRod server uses getCacheEntryAsync().
The ISPN-11020 fix extended the replicated get optimization to getCacheEntryAsync(), so now HotRod replicated reads bypass the interceptor chain, including the DelayingInterceptor added by SocketTimeoutFailureRetryTest.
java.lang.AssertionError: expected:<1> but was:<0> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:170) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:177) at org.infinispan.client.hotrod.retry.SocketTimeoutFailureRetryTest.testRetrySocketTimeout(SocketTimeoutFailureRetryTest.java:68)