We are use using Hibernate Search 3.4.2 Final and EHCACHE 2.3.1 in one of our applications. The data indexed by Hibernate Search is read-only. For performance reasons, we are loading the complete data into the second-level cache.
For some time something happens accidentally that clears the complete second-level cache. That must be something that is not explicitly triggered by our Code.
Is there anyone who has a presumption? Is there a chance that the usage of Hibernate Search inside a rollbacked transaction can lead to this behaviour?
Edit1:
This is our EHCACHE configuration:
<ehcache updateCheck="false">
<diskStore path="java.io.tmpdir/ds42" />
<defaultCache maxElementsInMemory="200000" eternal="true"
statistics="true" overflowToDisk="true" diskPersistent="false"
diskExpiryThreadIntervalSeconds="3600" memoryStoreEvictionPolicy="LRU"/>
</ehcache>