This content has been marked as final.
Show 2 replies
-
1. Re: Local cache + FileCacheStore -> many 0-byte Files left behind
manik Dec 21, 2011 6:18 AM (in response to tfromm)This is expected behaviour. This was brought up and discussed on infinispan-dev, see this thread for details. Basically, in summary, it is too expensive to clean up these files - as this involves locks - only to find that they may be recreated again by a concurrent thread. So the task of removing 0-byte files is left to the expiration reaper thread when purgeExpired() is called on the CacheStore.
So if you have a reaper thread enabled, you should see these being removed from time to time.
-
2. Re: Local cache + FileCacheStore -> many 0-byte Files left behind
tfromm Dec 22, 2011 4:33 AM (in response to manik)I'll perform closer investigation on this these days. Thanks for the fast response