[infinispan-issues] [JBoss JIRA] (ISPN-2876) AbstractComponentRegistry.getComponent can return an incomplete component

William Burns (JIRA) jira-events at lists.jboss.org
Fri Oct 4 18:47:22 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-2876:
--------------------------------

    Fix Version/s: 6.0.0.Final
                       (was: 6.0.0.CR1)

    
> AbstractComponentRegistry.getComponent can return an incomplete component
> -------------------------------------------------------------------------
>
>                 Key: ISPN-2876
>                 URL: https://issues.jboss.org/browse/ISPN-2876
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Locking and Concurrency
>    Affects Versions: 5.2.2.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 6.0.0.Final
>
>
> AbstractComponentRegistry.getComponent doesn't have any locking, so it's possible for a thread to retrieve a component while another thread is injecting that component's dependencies.
> Normally this isn't a problem, because the global registry is locked during cache manager startup, and the cache registry is locked during cache startup. However, some global components are only created "on-demand", because a cache component depends on them, and this can happen if someone uses getComponent instead of getOrCreateComponent.

--
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