[
https://issues.jboss.org/browse/ISPN-5421?page=com.atlassian.jira.plugin....
]
Mark K updated ISPN-5421:
-------------------------
Steps to Reproduce:
{quote}
<cache-container default-cache="default-dist" statistics="true"
shutdown-hook="DEFAULT">
<jmx domain="org.infinispan"/>
<transport stack="tcp"/>
<!-- Default cache, configured for most caches we need. -->
<distributed-cache name="default-dist"
mode="ASYNC"
owners="2"
segments="120"
deadlock-detection-spin="3000"
unreliable-return-values="true"
statistics="true"/>
<distributed-cache name="myNamedCache"/>
</cache-container>
{quote}
The "myNamedCache" will be SYNC, even though the default cache is ASYNC.
was:
{{
<cache-container default-cache="default-dist" statistics="true"
shutdown-hook="DEFAULT">
<jmx domain="org.infinispan"/>
<transport stack="tcp"/>
<!-- Default cache, configured for most caches we need. -->
<distributed-cache name="default-dist"
mode="ASYNC"
owners="2"
segments="120"
deadlock-detection-spin="3000"
unreliable-return-values="true"
statistics="true"/>
<distributed-cache name="myNamedCache"/>
</cache-container>
}}
The "myNamedCache" will be SYNC, even though the default cache is ASYNC.
Cache mode defined in default cache is not propagated to named cache
--------------------------------------------------------------------
Key: ISPN-5421
URL:
https://issues.jboss.org/browse/ISPN-5421
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 7.1.1.Final
Environment: Linux, Java 1.7.0_55
Reporter: Mark K
Labels: cachemode, configuration
The cache mode (SYNC/ASYNC) is not propagated from the default-cache configuration to the
named cache and defaults to SYNC, even when default-cache is set to ASYNC.
Example Config:
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)