Jason Dillaman created QPID-4263:
------------------------------------

             Summary: HA broker can crash due to priority queue corruption
                 Key: QPID-4263
                 URL: https://issues.apache.org/jira/browse/QPID-4263
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.18
            Reporter: Jason Dillaman


Similar to QPID-4262 and discovered via code review while investigating the 
other issue, it appears that it is possible for the priority queue's "messages" 
deques to become out-of-sync with their backing "fifo" deque if 
"PriorityQueue::setPosition" is invoked.  That method will delete messages from 
the backing MessageDeque collection without removing the pointers to the 
deleted messages from the PriorityQueue.

The HA and replication plugins can both invoke this method on a queue.  

--
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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to