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

Andrew Stitcher commented on QPID-5948:
---------------------------------------

1) Wouldn't it make sense to avoid the issue by forcing the exchange to be 
durable upon creation of a durable topic that depends on it?

2) Equally wouldn't it be more foolproof to just create the exchange upon 
recovery rather than throwing away the queue?

I think you'd need just 2. to properly fix the problem though, as you may 
already have stores that exist and need to be recovered. 1. might just be a 
nicety.

> [linearstore] Broker restart failure with durable topic using non-durable 
> exchange
> ----------------------------------------------------------------------------------
>
>                 Key: QPID-5948
>                 URL: https://issues.apache.org/jira/browse/QPID-5948
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>
> If a durable topic is created which uses a non-durable exchange, then the 
> recovery of the broker fails with "Exchange not found" error message. 
> Although this is a configuration error, and can probably be reproduced in a 
> number of ways, the fact that the broker will fail to start is a potentially 
> serious problem.
> Steps to Reproduce:
> 0. Start broker with amqp and linearstore modules
> 1. qpid-config add exchange fanout test.ex
> 2. qpid-config add topic test.topic --argument exchange=test.ex --argument 
> durable=True
> 3. Restart broker



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to