[
https://issues.jboss.org/browse/ISPN-10095?page=com.atlassian.jira.plugin...
]
Ryan Emerson commented on ISPN-10095:
-------------------------------------
[~vdzhuvinov] Yes the NPE will occur if a local-cache is used and
{{shared="true"}}. As a local-cache is only on a single node,
{{shared="true"}} doesn't make sense, as there can only ever be one node
writing to the underlying store. Therefore, to avoid the NPE simply set
{{shared="false"}}.
Shared stores should throw exception when cache is local
--------------------------------------------------------
Key: ISPN-10095
URL:
https://issues.jboss.org/browse/ISPN-10095
Project: Infinispan
Issue Type: Bug
Components: Configuration, Core
Affects Versions: 10.0.0.Beta3, 9.4.11.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Major
Fix For: 10.0.0.Beta4, 9.4.12.Final
A shared store does not make sense with a local cache, therefore we should throw a
{{CacheConfigurationException}} if configured. Due to assumptions elsewhere in the
PersistenceManager, prior to this fix a NPE will be thrown during the Purge method of the
store as {{transport == null}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)