Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8913

It is not possible to add cache store in infinispan subsystem

    Details

    • Steps to Reproduce:
      Hide
      1. Start EAP
      2. /subsystem=infinispan/cache-container=hibernate/invalidation-cache=foobar:add()
      3. /subsystem=infinispan/cache-container=hibernate/invalidation-cache=foobar/store=STORE:add(class="org.infinispan.configuration.cache.SingleFileStoreConfigurationBuilder")
      4. Operation fails
      Show
      Start EAP /subsystem=infinispan/cache-container=hibernate/invalidation-cache=foobar:add() /subsystem=infinispan/cache-container=hibernate/invalidation-cache=foobar/store=STORE:add(class="org.infinispan.configuration.cache.SingleFileStoreConfigurationBuilder") Operation fails
    • Affects:
      User Experience

      Description

      Adding cache store to already created cache ends by failure even if it should succeed:

      [standalone@localhost:9990 /] /subsystem=infinispan/cache-container=hibernate/invalidation-cache=foobar/store=STORE:add(class="org.infinispan.configuration.cache.SingleFileStoreConfigurationBuilder")
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0158: Operation handler failed: org.jboss.msc.service.DuplicateServiceException: Service org.wildfly.clustering.infinispan.cache.store.hibernate.foobar is already registered",
          "rolled-back" => true
      }
      

      This is a regression against 7.1.0.DR18.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pferraro Paul Ferraro
                  Reporter:
                  pferraro Paul Ferraro
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: