[ 
https://issues.apache.org/jira/browse/QPID-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Moravec updated QPID-3796:
--------------------------------

    Attachment: create_queue.cpp

create_queue.cpp - to send QMF command creating a durable queue
                
> QMF errors ignored by cluster, causing cluster de-sync
> ------------------------------------------------------
>
>                 Key: QPID-3796
>                 URL: https://issues.apache.org/jira/browse/QPID-3796
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.12
>            Reporter: Pavel Moravec
>         Attachments: create_queue.cpp
>
>
> Cluster error handling ignores errors on QMF. That leads to leave running a 
> node affected by an error not seen by other nodes, i.e cluster de-sync.
> Particular example: Via QMF, create a huge durable queue on a 2 node cluster, 
> such that node1 of the cluster does not have sufficient free disk space for 
> the queue journals, while node2 has enough free disk space. Cluster won't 
> detect node1 failed to create the queue, leaving a cluster running with 1 
> node with the queue and 1 node without the queue.
> Reproduction scenario:
> 1) 2 node cluster running
> 2) Let leave less than 13M of free disk space on node1 (while enough free 
> space on node2)
> 3) On node1, run the attached simple program that will create queue 
> HugeDurableQueue with qpid.file_count=64 and qpid.file_size=16384.
> 4) QMF response will be negative (correct), but both nodes will be running 
> with node1 not having the queue provisioned while node2 having the queue.
> 5) Repeating the test with sending the QMF command to node2 (with enough free 
> disk space) will produce _positive_ QMF response - a user is _not_ aware of a 
> problem on the cluster anyhow.
> Both problems (node1 needs to be shutted down + QMF response has to be NACK 
> everytime) shall be fixed.

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