[
https://issues.apache.org/jira/browse/FELIX-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Jencks resolved FELIX-3826.
---------------------------------
Resolution: Fixed
> [DS] race in enabling components with factory pid
> -------------------------------------------------
>
> Key: FELIX-3826
> URL: https://issues.apache.org/jira/browse/FELIX-3826
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.6.2
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: scr-1.6.4
>
>
> ImmediateComponentHolder.enableComponents has a race condition. It sets the
> holder's m_enabled state last after enabling all the components it finds when
> it starts. However other threads from config admin could be adding
> components during this time, and they will never get enabled. Calling enable
> on a component twice shouldn't cause a problem, so moving setting m_enabled
> to the start of enableComponents should fix this.
--
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