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/11/29 00:45:59 UTC

[jira] [Created] (FELIX-3790) [DS] Services may not be bound if the events arrive during component instantiation.

David Jencks created FELIX-3790:
-----------------------------------

             Summary: [DS] Services may not be bound if the events arrive during component instantiation.
                 Key: FELIX-3790
                 URL: https://issues.apache.org/jira/browse/FELIX-3790
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.6.2
            Reporter: David Jencks
            Assignee: David Jencks


This is similar to FELIX-3754, but there is still a timing window where service events that arrive between the time the dependencies are collected and the time the temp implementation object is set, get ignored.  It's pretty easy to narrow down this timing window to between when the dependencies are collected and when the dependency map is set, but there is still a short window with this solution.

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

[jira] [Commented] (FELIX-3790) [DS] Services may not be bound if the events arrive during component instantiation.

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506955#comment-13506955 ] 

David Jencks commented on FELIX-3790:
-------------------------------------

Simple fix in r1415462.  As noted in the description there's still a window when events will be dropped.  I think FELIX-3729 (imitate serviceTracker) will be the best solution longer-term.
                
> [DS] Services may not be bound if the events arrive during component instantiation.
> -----------------------------------------------------------------------------------
>
>                 Key: FELIX-3790
>                 URL: https://issues.apache.org/jira/browse/FELIX-3790
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>
> This is similar to FELIX-3754, but there is still a timing window where service events that arrive between the time the dependencies are collected and the time the temp implementation object is set, get ignored.  It's pretty easy to narrow down this timing window to between when the dependencies are collected and when the dependency map is set, but there is still a short window with this solution.

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