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

ASF subversion and git services commented on DISPATCH-79:
---------------------------------------------------------

Commit 1643280 from [~aconway] in branch 'dispatch/trunk'
[ https://svn.apache.org/r1643280 ]

DISPATCH-79: Fix ordering bug in agent.py code.

There was an ordering bug in the agent code. It was possible for an entity to be
removed, then another entity with the same name/identity added, but the agent
would evaluate the "add" before the "remove" and complain about a duplicate
object.

> Management agent errors after restarting a second router.
> ---------------------------------------------------------
>
>                 Key: DISPATCH-79
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-79
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 0.2
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.3
>
>         Attachments: A.conf, B.conf
>
>
> >> I'm trying to verify a bug but I keep getting a python backtrace while
> >> running qdstat -a.  It seems to be complaining that I'm trying to add a
> >> duplicate connection, but I'm only trying to query addresses.  Do you
> >> know what's causing this?
> >>
> >> -Ted
> >>
> >>
> >> Wed Dec  3 11:31:39 2014 ERROR (error) Python: ValidationError:
> >> org.apache.qpid.dispatch.connection: Duplicate value
> >> 'connection:0.0.0.0:20102' for unique attribute 'name'
> >> Wed Dec  3 11:31:39 2014 ERROR (error) Traceback (most recent call last):
> >>
> >>   File
> >> "/home/ross/git/rh-qpid-dispatch/install/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py",
> >> line 420, in receive
> >>     self.entities.refresh_from_c()
> To reproduce: start routers with the attached configurations A.conf and 
> B.conf. Stop and start the B router a few times, then run 
>   qdstat -a -b :20100



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to