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

Gordon Sim commented on QPID-4347:
----------------------------------

A possible simple fix (against 0.18, but would apply equally to trunk):

{noformat}
Index: src/qpid/broker/Broker.cpp
===================================================================
--- src/qpid/broker/Broker.cpp  (revision 1382034)
+++ src/qpid/broker/Broker.cpp  (working copy)
@@ -285,6 +285,7 @@
         if (getRecovery()) {
             RecoveryManagerImpl recoverer(queues, exchanges, links, 
dtxManager);
             store->recover(recoverer);
+            links.setStore(store.get());
         }
         else {
             QPID_LOG(notice, "Cluster recovery: recovered journal data 
discarded and journal files pushed down");
@@ -390,7 +391,6 @@
 void Broker::setStore () {
     queues.setStore     (store.get());
     dtxManager.setStore (store.get());
-    links.setStore      (store.get());
 }
 
 void Broker::run() {
{noformat}
                
> durable links break recovery
> ----------------------------
>
>                 Key: QPID-4347
>                 URL: https://issues.apache.org/jira/browse/QPID-4347
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.18
>            Reporter: Gordon Sim
>
> On recovery of a durable link, the broker calls MessageStore::create() for 
> the recovered link which causes a hang and prevents recovery completing.

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

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

Reply via email to