tracker issue : CF-3912610

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

Clustered cache regions using cfquery causes endless request

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Darrell Rapier / Darrell Rapier (Darrell Rapier)

Created: 12/18/2014

Components: Caching

Versions: 11.0

Failure Type: Crash

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description: Using Terracotta's offheap/clustered cache regions with a cfquery causes the server to never finish the request.  It is like it is in some infinite loop and the stats of the local disk hit rate for the custom cache region are spiking.

Steps to Reproduce: Modify the ehcache.xml to use a Terracotta server array and add a custom terracotta clustered cache region. Steps are...

Add these jar files to the \cfusion\lib\ dir...
- terracotta-toolkit-runtime-ee-4.1.5.jar
- ehcache-ee-2.8.5.jar

modify the ehcache.xml....
<terracottaConfig url="192.168.1.1:9510,192.168.1.2:9510" rejoin="true" />

<cache name="TEST"
          eternal="false"
          timeToLiveSeconds="720"
          timeToIdleSeconds="720"
          maxBytesLocalHeap="200M"
          maxBytesLocalOffHeap="1G"
          memoryStoreEvictionPolicy="LRU">
          <terracotta/>
        </cache>

Run a simple cfquery using this TEST region and the process just hangs.

<cfquery cacheRegion="TEST" cacheId="CacheID1" cachedwithin="#CreateTimeSpan(0, 0, 5, 0)#" datasource="TEST" name="TEST_QRY">
Select * from TEST
</cfquery>

<cfdump var="#TEST_QRY#" abort="true">

Actual Result: Request hangs

Expected Result: The TEST_QRY should be put in the TEST clustered cache region and returned to the request process.

Any Workarounds: You must use none-clustered cache regions or manually wrap the query results with logic using cacheGet() and cachePut() to use clustered cache regions.

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

Watson Bug ID:	3912610

External Customer Info:
External Company:  
External Customer Name: drapier99
External Customer Email:  
External Test Config: My Hardware and Environment details: CF11 running with Java 1.7.0_71 on a Windows 2008 R2 64bit server.  Tested with Terracotta Server Array 4.1.3 & 4.1.5.

Attachments:

Comments:

We are unable to find the jar files of appropriate version for : - terracotta-toolkit-runtime-ee-4.1.5.jar - ehcache-ee-2.8.5.jar So please provide them(or download links, if they belong to any particular framework especially terracota) to repro the case. Thanks.
Comment by Akhila K.
9236 | January 22, 2015 01:04:09 AM GMT