[teiid-issues] [JBoss JIRA] (TEIID-2168) SessionAware cache needs to use Infinispan as Cache Store always

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Tue Sep 11 20:32:32 EDT 2012


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

Ramesh Reddy resolved TEIID-2168.
---------------------------------

    Resolution: Done


Removed the DefaultCache, replaced with InfinispanCache for local cache. The cache configuration now requires two separate "named" cache configurations for resultset in infinispan

* resultset (local)
* resultset-repl (replicated)

The replicated cache name is computed by appending "-repl" to the local cache name. In standalone and embedded mode both local and replicated caches are by default configured as "local" caches. In domain mode, one is local and another is replicated to make use of the replicated results.

Prepared cache only needs single local cache. It will ignore any replicated cache currently.
                
> SessionAware cache needs to use Infinispan as Cache Store always
> ----------------------------------------------------------------
>
>                 Key: TEIID-2168
>                 URL: https://issues.jboss.org/browse/TEIID-2168
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Server
>    Affects Versions: 8.2
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: 8.2
>
>
> Currently SessionAwareCache uses the Infinispan cache factory for the distributed cache results and uses the Teiid defined DefaultCache for local storage of session scoped results.
> The usage of DefaultCache should be entirely removed and replaced with Infinispan's non-replicated local cache. This provides more consistent implementation of the cache store with better eviction policies.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list