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

Lifecycle manager for plugin module is invoked twice per cache initialization on cacheStarting

    Details

      Description

      In the search module the org.infinispan.query.impl.LifecycleManager is registered via the infinispan-module.properties, but the method

      org.infinispan.query.impl.LifecycleManager.cacheStarting(ComponentRegistry, Configuration, String)

      Is invoked twice for each cache initialization.

      The implementation needs to register an interceptor, and some objects in the componentregistry. The tricky part is that some of these components are overwritten, some are not, leading to an inconsistent initialization (Query was made useless).

      I'm working around this in Query to register my needed components only if they're not already, but this is inconsistent as well as I might need to reconfigure it.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                galder.zamarreno Galder ZamarreƱo
                Reporter:
                sannegrinovero Sanne GRINOVERO
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: