[infinispan-dev] DIST_SYNC behaving as async
Sanne Grinovero
sanne.grinovero at gmail.com
Mon Jul 12 11:12:04 EDT 2010
Hello,
I'm attempting to debug a cache which should be configured in sync,
but doesn't pass this trivial test when using the latest 4.1 snapshot:
nodeOne.put("key1", Integer.valueOf(7));
assert Integer.valueOf(7).equals(nodeTwo.get("key1")) ;
unless I introduce a short delay between the put and the get.
Of course when debugging it won't fail, I see the picked configuration
is the correct one;
I see useReplQueue=false, mode = DIST_SYNC, and the following interceptor chain:
>> org.infinispan.interceptors.InvocationContextInterceptor
>> org.infinispan.interceptors.CacheMgmtInterceptor
>> org.infinispan.interceptors.DistTxInterceptor
>> org.infinispan.interceptors.NotificationInterceptor
>> org.infinispan.interceptors.CacheLoaderInterceptor
>> org.infinispan.interceptors.DistCacheStoreInterceptor
>> org.infinispan.interceptors.DistLockingInterceptor
>> org.infinispan.interceptors.DistributionInterceptor
>> org.infinispan.interceptors.CallInterceptor
any ideas to what else I could check?
thanks,
Sanne
More information about the infinispan-dev
mailing list