EHC ❯ Inefficient shutdown of non-persistent diskstore
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
December 03, 2014
-
September 22, 2009
Description
A cache configured for overflowToDisk invokes MemoryStore.flush() from Cache.dispose() when CacheManager.shutdown() is invoked. This causes all in-memory entries to be flushed to disk. However when DiskStore is disposed of unless this store is marked as persistent the data files are deleted. This causes unnecessary delay to the shutdown process. MemoryStore.dispose() needs to bypass the call to flush() unless the cache.isDiskPersistent().
Sourceforge Ticket ID: 1888993 - Opened By: nobody - 7 Feb 2008 18:56 UTC
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira