[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:06:53 EST 2020


     [ https://issues.redhat.com/browse/ISPN-11247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wolf-Dieter Fink updated ISPN-11247:
------------------------------------
    Description: 
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:
[quote]
[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  
[quote]

  was:
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  
~~~



> "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.0.Final, 10.1.1.Final
>            Reporter: Wolf-Dieter Fink
>            Priority: Major
>
> 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:
> [quote]
> [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  
> [quote]



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


More information about the infinispan-issues mailing list