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

[email protected] commented on QPID-3773:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3560/#review4486
-----------------------------------------------------------


This in essence reverts 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Bridge.cpp?r1=707515&r2=709342&pathrev=709532
 where the bridges own UUID was replaced with the brokers federation tag. The 
comment for the commit states this was done to make it "easier to determine 
which queues go to which brokers".

- Gordon


On 2012-01-20 00:01:40, Kenneth Giusti wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3560/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-20 00:01:40)
bq.  
bq.  
bq.  Review request for qpid, Gordon Sim, michael goulish, and Ted Ross.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  The fix replaces the per-broker federation uuid with a unique uuid for 
each queue created.
bq.  
bq.  I'm not aware of anything that is sensitive to the current format of the 
bridge queue name, and expects to find a federation uuid in the name.
bq.  
bq.  -K
bq.  
bq.  
bq.  This addresses bug qpid-3773.
bq.      https://issues.apache.org/jira/browse/qpid-3773
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/qpid/cpp/src/qpid/broker/Bridge.cpp 1233125 
bq.  
bq.  Diff: https://reviews.apache.org/r/3560/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Kenneth
bq.  
bq.


                
> Creating exchange source routes to different brokers can fail if the channels 
> overlap.
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-3773
>                 URL: https://issues.apache.org/jira/browse/QPID-3773
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.14
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>             Fix For: 0.15
>
>
> The following valid configuration results in a failure to create a second 
> bridge queue:
> ./qpidd --auth no --no-data-dir -p 7777 &
> ./qpidd --auth no --no-data-dir -p 8888 &
> ./qpidd --auth no --no-data-dir -p 9999 &
> [kgiusti@localhost src (trunk)]$ qpid-config -a127.0.0.1:7777 add exchange 
> topic ex1
> [kgiusti@localhost src (trunk)]$ qpid-config -a127.0.0.1:8888 add exchange 
> topic ex1
> [kgiusti@localhost src (trunk)]$ qpid-config -a127.0.0.1:9999 add exchange 
> topic ex1
> [kgiusti@localhost src (trunk)]$ qpid-route -s route add 127.0.0.1:7777 
> 127.0.0.1:8888 ex1 "#"
> [kgiusti@localhost src (trunk)]$ qpid-route -s route add 127.0.0.1:9999 
> 127.0.0.1:8888 ex1 "#"
> This *should* result in two bridge queues being created on 127.0.0.1:8888; 
> one queue for the route to :7777, the other for the route to :9999.
> What actually happens is one queue is created:
> [kgiusti@localhost src (trunk)]$ qpid-stat -q 127.0.0.1:8888
> Queues
>   queue                                                dur  autoDel  excl  
> msg   msgIn  msgOut  bytes  bytesIn  bytesOut  cons  bind
>   
> ====================================================================================================================================
>   ...
>   bridge_queue_1_c1de955c-3632-4a7d-b6d8-be9890ff38b3       Y        Y        
> 0     0      0       0      0        0         1     2
>   ...
> This is due to the way the broker generates the name for the queue.  The 
> format of the name is "bridge_queue_" + channel# + broker's federation uuid.  
> In the failure case, the channel # happens to be the same for both routes, 
> which results in duplicate names for different queues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to