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

When a cache is stopped and restarted, its configuration reference within component registry is not refreshed with defineConfiguration/undefineConfiguration

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.1.6.Final, 9.2.0.Final
    • Fix Version/s: 9.2.1.Final
    • Component/s: Core
    • Labels:
      None

      Description

      When a cache is stopped and restarted, its configuration reference within component registry is not refreshed with defineConfiguration/undefineConfiguration.

      The problem is that org/infinispan/factories/ComponentRegistry.java:77 is only called once the cache is being wired thus registerComponent(configuration, Configuration.class); is the only place where the configuration is put into the registry.

      The best solution is to remove the cache in TERMINATED state once configuration is undefined thus establishing a clear terminal lifecycle.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhusar Radoslav Husar
                  Reporter:
                  rhusar Radoslav Husar
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: