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-2221) The admin service is not safe when used to create / start agents quickly
Date Tue, 05 Mar 2013 17:04:14 GMT

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

Guillaume Nodet commented on KARAF-2221:
----------------------------------------

Fixed on 2.3.x branch with http://svn.apache.org/r1452894

                
> The admin service is not safe when used to create / start agents quickly
> ------------------------------------------------------------------------
>
>                 Key: KARAF-2221
>                 URL: https://issues.apache.org/jira/browse/KARAF-2221
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.3.1, 3.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.3.2, 3.0.0
>
>
> That's because when starting, karaf instances write to the file and the admin service
may also write to the file at the same time resulting in data loss.
> An easy way to replicate the problem is the following:
> {code}
> > each [ 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 ] { echo "Creating
test$it"; admin:create "test$it" ; admin:list ; echo "Start test$it" ; admin:start "test$it"
; admin:list }
> {code}
> It most certainly looses instances before the end.

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

Mime
View raw message