Matt Broadstone created QPID-7407:
-------------------------------------

             Summary: LVQ does not respect released or modified outcomes
                 Key: QPID-7407
                 URL: https://issues.apache.org/jira/browse/QPID-7407
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 1.35
            Reporter: Matt Broadstone


When using an LVQ, if you dispose of a message with the `released` or 
`modified` outcome, the LVQ will not redeliver that message. This appears to be 
because the MessageMap used internally for the LVQ's implementation only 
searches for an `upper_bound` on the map when `next` is called 
(https://github.com/apache/qpid-cpp/blob/master/src/qpid/broker/MessageMap.cpp#L89),
 never taking into consideration messages in the map from the "past" (i.e. a 
message that was just delivered and returned with a `released` outcome for 
redelivery). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to