jaysmith [
http://community.jboss.org/people/jaysmith] created the discussion
"Cache enries not removed from JDBM filestore with passivation enabled"
To view the discussion, visit:
http://community.jboss.org/message/606046#606046
--------------------------------------------------------------
Hi,
so unfortunately I have JBoss Cache instance that uses a Jdbm cache loader as a persistent
store and given the heap of crap that JBoss Cache is, there is no way to force expiration
from the cache loader so I have to use a batch process which runs daily to clear out the
cache.
Thing is that even with passivation enabled, the remove method doesn't clear out the
file store which completely flies in the face of the User's Guide. Sure, the Fqns are
no longer accessible but the physical store still contains the dead cached data which
means that the only way to clear the store completely is to stop the cache, physically
remove the Jdbm files and restart the cache. I've tried this out with a very simple
setup using Infinispan too and the same results.
Surely there has to be some other way to purge the store? Would moving to Berkely DB help
or even JDBC (thus returning back to the reason why I'm using the cache in the first
place?)
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/606046#606046]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]