[
https://issues.apache.org/jira/browse/FELIX-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15258906#comment-15258906
]
Pierre De Rop commented on FELIX-5242:
--------------------------------------
Committed a test case in rv 1741102:
src/org/apache/felix/dm/itest/api/FELIX5243_ConfigUpdateMissedIfComponentIsRestartingTest.java
> Configuration updates may be missed when the component is restarting
> --------------------------------------------------------------------
>
> Key: FELIX-5242
> URL: https://issues.apache.org/jira/browse/FELIX-5242
> Project: Felix
> Issue Type: Bug
> Components: Dependency Manager
> Affects Versions: org.apache.felix.dependencymanager-r1
> Reporter: Pierre De Rop
> Assignee: Pierre De Rop
> Fix For: org.apache.felix.dependencymanager-r9
>
>
> When a component has some required dependencies, and also has a configuration
> dependency, then some configuration updates may be missed in the following
> situation:
> 1) the component has lost a required dependency: it is stopped.
> 2) the component is restarting because the lost required dependency becomes
> available again.
> 3) at the same time, concurrently, a configuration update is taking place.
> Then, during this racy condition, it is possible (but not systematically)
> that the component misses the configuration update.
> I have a test which demontrates this issue, as well as a patch. I will commit
> it soon.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)