Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11247

"create cache MyCache --template=org.infinispan.DIST_SYNC --volatile=false" is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 10.1.0.Final, 10.1.1.Final
    • CLI
    • None

      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@cluster//containers/default]> cache ___
      ___protobuf_metadata ___script_cache
      [node1@cluster//containers/default]> create cache wolf1 --template=org.infinispan.DIST_SYNC --volatile=false
      null
      [node1@cluster//containers/default]> cache ___
      ___protobuf_metadata ___script_cache
      [node1@cluster//containers/default]> create cache wolf1 --template=org.infinispan.DIST_SYNC --volatile=true
      [node1@cluster//containers/default]> cache
      ___protobuf_metadata ___script_cache wolf1
      [quote]

            ttarrant@redhat.com Tristan Tarrant
            rhn-support-wfink Wolf Fink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: