[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1442) clearCache("QUERY_SERVICE_RESULT_SET_CACHE") - in ER7 - totalEntries is not reset to zero

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Tue Jan 18 17:17:49 EST 2011


     [ https://issues.jboss.org/browse/TEIID-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-1442.
---------------------------------

    Resolution: Done


JBC upon clear of cache still keeps the empty nodes with a dummy object around (may be for little while), during this time the size calculations can be wrong. So base the size calculations on the nodes with actual data.

> clearCache("QUERY_SERVICE_RESULT_SET_CACHE") - in ER7 - totalEntries is not reset to zero
> -----------------------------------------------------------------------------------------
>
>                 Key: TEIID-1442
>                 URL: https://issues.jboss.org/browse/TEIID-1442
>             Project: Teiid
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 7.1.1, 7.2
>            Reporter: Len DiMaggio
>            Assignee: Ramesh Reddy
>             Fix For: 7.1.1, 7.3
>
>
> Regression relative to ER6 - the totalEntries property is not being reset
> groovy:000> connectAsAdmin("mms://localhost:31443", "admin", "admin", "testing")
> ===> null
> groovy:000> getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE")                     
> ===> hitRatio=0.0; totalEntries=1; requestCount=0
> groovy:000> clearCache("QUERY_SERVICE_RESULT_SET_CACHE")                        
> ===> null
> groovy:000> getCacheStats("QUERY_SERVICE_RESULT_SET_CACHE")
> ===> hitRatio=0.0; totalEntries=1; requestCount=0

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list