…gion for an access strategy of READ_ONLY.
…n instance and/or region of the cache, since inserts and deletes are allowed with a CacheConcurrencyStrategy of READ_ONLY.
putFromLoad now checks for minimalPuts to verify whether the entry is already present in the cache. By doing this, Hibernate stats appear more precise since putForExternalReads that are no-op because the cache already contains the entry are not counted as puts. This avoids confusion amongst users. This should be reverted to checking PFER's return value when https://issues.jboss.org/browse/ISPN-1986 has been implemented.
Upgraded to Infinispan 5.1.3.FINAL too.
By doing this, discovery of nodes is not timed and instead is done in-memory which is much more reliable from a testing perspective. Due to timing issues, some tests would randomly fail because the cluster did not form in time, so changing to this JGroups stack for testing solves random test failures due to invalidation messages not being sent around.
* Switch to autoCommit=false so that unnecessary transactions are not created. * Mark timestamps cache explicitly non-transactional. * Move away from using caches as a way to send evict all notifications. Instead, use custom commands provided by Infinispan. * Get rid of the JDBC transaction test because it does not make sense configuring JDBC transactions with Infinispan 2LC.