Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.2
-
None
Description
>> 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
Commit 1643280 from Alan Conway 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.