2 Replies Latest reply on Feb 26, 2013 4:30 AM by ajith2489

    FileCacheStore not cleaning up internal files on cache.clear()

    ajith2489

      Hi

       

      I am using Infinispan server (5.2) as remote cache with FileCacheStore as loader. I have enabled Purger threads.

      Now when i put a <K,V> in remote cache and call cache.clear(),/cache.clearAsync() the infinispan syas that it has cleared cache

      but i can see that the internal files created @ <location> of FileCacheStore, is not deleted. Is this expected behaviour.?

       

      I have tried by putting String-Integer pair and as soon as i call cache.clearAsync(), i can see the size of files reducing and after sometime it becomes 0 size and file deletes, but same doesnt happen if i insert a customObject-Integer pair as <K,V> in remote cache

       

      Please help