You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2012/12/18 01:08:12 UTC
[jira] [Created] (FELIX-3826) [DS] race in enabling components with
factory pid
David Jencks created FELIX-3826:
-----------------------------------
Summary: [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