]
Ramesh Reddy edited comment on TEIID-1336 at 10/29/10 12:51 PM:
----------------------------------------------------------------
What are you expecting here? ClearCache throws away cache entries if there were any. In
this case I see no entries. Are you thing thinking that "requestCount" should go
to zero perhaps?
was (Author: rareddy):
What are you expecting here?
EDS adminshell - clearCache() having no effect
----------------------------------------------
Key: TEIID-1336
URL:
https://jira.jboss.org/browse/TEIID-1336
Project: Teiid
Issue Type: Bug
Affects Versions: 7.1.1
Environment: SOA-P 5.1 ER3 build
Reporter: Len DiMaggio
clearCache() doesn't look like it's doing anything - see below:
groovy:000> connectAsAdmin("mms://localhost:31443", "admin",
"admin", "conn-1")
===> null
groovy:000> getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE")
===> hitRatio=0.0; totalEntries=0; requestCount=3
groovy:000> clearCache("QUERY_SERVICE_RESULT_SET_CACHE")
===> null
groovy:000> getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE")
===> hitRatio=0.0; totalEntries=0; requestCount=3
===================
server.log:
2010-10-29 12:13:07,065 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1)
processing message:MessageHolder:
contents=org.teiid.net.socket.ServiceInvocationStruct@18cf5ea
2010-10-29 12:13:07,065 DEBUG [org.teiid.SECURITY] (New I/O server worker #2-1) Ping
MLwHWKFcHgcq
2010-10-29 12:13:07,065 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1)
message: MessageHolder: contents=null for request ID:38
2010-10-29 12:13:07,067 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1)
processing message:MessageHolder:
contents=org.teiid.net.socket.ServiceInvocationStruct@c171b7
2010-10-29 12:13:07,067 DEBUG [org.teiid.ADMIN_API] (New I/O server worker #2-1) before
clearCache:org.teiid.adminapi.jboss.Admin@1a42c71(QUERY_SERVICE_RESULT_SET_CACHE)
2010-10-29 12:13:07,067 DEBUG [org.teiid.ADMIN_API] (New I/O server worker #2-1) after
clearCache : null
2010-10-29 12:13:07,067 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1)
message: MessageHolder: contents=null for request ID:39
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: