[
https://issues.jboss.org/browse/WFLY-8913?page=com.atlassian.jira.plugin....
]
Paul Ferraro commented on WFLY-8913:
------------------------------------
[~Maxoid] Alternatively (to running as a batch), you can run the cache store add operation
using the allow-resource-service-restart flag.
e.g.
{code}/subsystem=infinispan/cache-container=hibernate/local-cache=foobar1/store=file:add(){allow-resource-service-restart=true}{code}
N.B. The above command is the non-deprecated equivalent of the command specified in the
description.
This ensure that the conflicting services are removed prior to installing the requisite
file store service.
It is not possible to add cache store in infinispan subsystem
-------------------------------------------------------------
Key: WFLY-8913
URL:
https://issues.jboss.org/browse/WFLY-8913
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 11.0.0.Alpha1
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Fix For: 11.0.0.Beta1
Adding cache store to already created cache ends by failure even if it should succeed:
{code}
[standalone@localhost:9990 /]
/subsystem=infinispan/cache-container=hibernate/invalidation-cache=foobar/store=STORE:add(class="org.infinispan.configuration.cache.SingleFileStoreConfigurationBuilder")
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
org.jboss.msc.service.DuplicateServiceException: Service
org.wildfly.clustering.infinispan.cache.store.hibernate.foobar is already
registered",
"rolled-back" => true
}
{code}
This is a regression against 7.1.0.DR18.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)