[infinispan-issues] [JBoss JIRA] (ISPN-2735) The global component registry sometimes fails to start components injected on the fly

Tristan Tarrant (JIRA) jira-events at lists.jboss.org
Mon Jan 21 08:11:21 EST 2013


Tristan Tarrant created ISPN-2735:
-------------------------------------

             Summary: The global component registry sometimes fails to start components injected on the fly
                 Key: ISPN-2735
                 URL: https://issues.jboss.org/browse/ISPN-2735
             Project: Infinispan
          Issue Type: Bug
          Components: Locking and Concurrency
    Affects Versions: 5.2.0.Beta1
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 6.0.0.Final


If a global component is used by an incoming command, it could be created before the component registry is in the "running" state, yet after it has started invoking the components' start methods.

If this happens, the component's start method(s) will never be invoked - neither "inline", in ACR.registerComponentInternal, nor in the regular startup procedure (ACR.internalStart).

Specifically, the problem ocurred with LocalTopologyManager, which is injected in incoming CacheTopologyControlCommands. Since these commands are broadcasted to the entire cluster, a node can receive them before it had finished starting its global component registry.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list