karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-358) When the feature service calls refresh(), it should wait for the refresh to happen before returning
Date Fri, 07 Jan 2011 15:56:45 GMT

    [ https://issues.apache.org/jira/browse/KARAF-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978831#action_12978831
] 

Guillaume Nodet commented on KARAF-358:
---------------------------------------

Fixed.
Note that there is no guarantee that this will work 100% as the features service can only
wait for a refresh event to be sent, but has no way to link it to the call it made, so the
first event will be considered and will unblock the call.

> When the feature service calls refresh(), it should wait for the refresh to happen before
returning
> ---------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-358
>                 URL: https://issues.apache.org/jira/browse/KARAF-358
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.1.3, 2.2.0
>
>
> Failing to do so can result in timeouts / errors when multiple commands are issued without
waiting in between the calls.
> The reason is that the refresh() is done asynchronously and will block other calls that
may timeout.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message