[
https://issues.apache.org/jira/browse/FELIX-5276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Jencks resolved FELIX-5276.
---------------------------------
Resolution: Fixed
Fixed (With a test!) in r1747329.
> [DS] Possible hang when unbind method alters service properties
> ---------------------------------------------------------------
>
> Key: FELIX-5276
> URL: https://issues.apache.org/jira/browse/FELIX-5276
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-2.0.2
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: scr-2.0.4
>
>
> In a delayed component, if a bind, updated, or unbind action updates the
> service properties without recycling the component, and this causes a target
> filter in another component to be unsatisfied, and this causes the component
> to attempt to deactivate, the deactivation will hang waiting for the
> registration of the tracking count from the original service event.
> This can be fixed by having the AbstractComponentManager.setServiceProperties
> call tracked when there is a service properties update. Since scopes other
> than singleton can't update the service properties, this avoids prematurely
> calling tracked for the first of many copies of the component.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)