tracker issue : CF-3126561

select a category, or use search below
(searches all categories and all time range)
Title:

Logging into Server Monitor revives deleted cache regions

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 02/29/2012

Components: Caching

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Public Beta / 281685

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Simply logging into Server Monitor will bring a deleted cache region back to life, if it contained a query before it was deleted.  Even when all objects and queries that it contained have expired. (If it didn’t contain a query before deletion, then the region will stay deleted.)

Just use the code attached. It creates a region as follows:

cacheRegionNew("r", {clearOnFlush=true,diskSpoolBufferSizeMB=30,eternal=false,maxElementsInMemory=1,memoryStoreEvictionPolicy="LRU",statistics=false,timeToIdleSeconds=1,timeToLiveSeconds=1,overflowToDisk=false}, true)

Then it runs a query w/ cachedWithin="#createTimeSpan(0,0,0,1)#"

Then it removes the region: cacheRegionRemove("r")

At this point, this correctly returns NO: writeDump(cacheRegionExists("r"))

Now, simply login to Server Monitor.

Now this returns YES: writeDump(cacheRegionExists("r"))

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3126561

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

  1. February 29, 2012 00:00:00: 1_LoggingIntoServerMonitorRevivesDeletedCacheRegion.txt

Comments:

Related thread: http://prerelease.adobe.com/r/?0ce42c10345e46538b74ee1148eb059f
Comment by External U.
20478 | February 29, 2012 07:42:18 AM GMT
Verified this is fixed in CF10 Final (build 10,282462). Thanks! -Aaron
Comment by External U.
20479 | May 28, 2012 06:15:27 PM GMT