]
Ryan Emerson reassigned ISPN-7609:
----------------------------------
Assignee: Ryan Emerson
Deploying custom cache store should not required server restart
---------------------------------------------------------------
Key: ISPN-7609
URL:
https://issues.jboss.org/browse/ISPN-7609
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores, Server
Affects Versions: 9.0.0.CR2
Reporter: Martin Gencur
Assignee: Ryan Emerson
Steps to reproduce:
1) deploy a custom cache store
2) use CLI to call the following commands:
{code}
/subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=mycache:add(statistics=true)
/subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=mycache/store=customcs:add(class="org.infinispan.persistence.cluster.MyCustomCacheStore")
/subsystem=datagrid-infinispan/cache-container=local/configurations=CONFIGURATIONS/local-cache-configuration=mycache/store=customcs/property=customProperty:add(value=10)
/subsystem=datagrid-infinispan/cache-container=local/local-cache=newcache:add(configuration=mycache)
{code}
This sequence adds a new cache that references the custom cache store but the cache store
is not working until the server is restarted (and the CLI commands do NOT indicate the
need for server restart via "reload-required" outcome)