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:
- February 29, 2012 00:00:00: 1_LoggingIntoServerMonitorRevivesDeletedCacheRegion.txt
Comments: