[infinispan-issues] [JBoss JIRA] (ISPN-11247) "create cache MyCache --template=org.infinispan.DIST_SYNC --volatile=false" is not working

Wolf-Dieter Fink (Jira) issues at jboss.org
Wed Jan 29 10:01:58 EST 2020


Wolf-Dieter Fink created ISPN-11247:
---------------------------------------

             Summary: "create cache MyCache --template=org.infinispan.DIST_SYNC --volatile=false" is not working
                 Key: ISPN-11247
                 URL: https://issues.redhat.com/browse/ISPN-11247
             Project: Infinispan
          Issue Type: Bug
          Components: CLI
    Affects Versions: 10.1.1.Final, 10.1.0.Final
            Reporter: Wolf-Dieter Fink


If a cache is created with CLI the default (volatile=true) is working as expected and the cache is created clusterwide but not persistent as expected

Adding a cache via CLI which should be persistent will return a "null" within the CLI shell.
Adding with the Console will work as expected and add the cache persistent

Output from console:
~~~
[node1 at cluster//containers/default]> cache ___
___protobuf_metadata  ___script_cache  
[node1 at cluster//containers/default]> create cache wolf1 --template=org.infinispan.DIST_SYNC --volatile=false
null
[node1 at cluster//containers/default]> cache ___
___protobuf_metadata  ___script_cache  
[node1 at cluster//containers/default]> create cache wolf1 --template=org.infinispan.DIST_SYNC --volatile=true
[node1 at cluster//containers/default]> cache 
___protobuf_metadata  ___script_cache  wolf1  
~~~



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list