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

CLI: Setting configuration cache attribute creates new cache-configuration

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • None
    • CLI, WildFly modules
    • None

      When I use the CLI to set cache template using the following command (cloud.xml configuration):

      /subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default:write-attribute(name=configuration, value=persistent-file-store-write-behind)
      

      a new configuration element is added automatically. Here's how it looks like:

      <cache-container name="clustered" default-cache="default" statistics="true">
      ...
                     <!-- This element has been automatically created - why? -->
                      <distributed-cache-configuration name="default"/>
      </cache-container>
      

              ttarrant@redhat.com Tristan Tarrant
              slaskawi@redhat.com Sebastian Ɓaskawiec (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: