Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7425

Management delete of a message may refund credit too early

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      As an operator, I am able to delete messages via Management. Messages can be deleted even though they have already been sent to a consumer. In this case, the message is still delete and if the client later acks or rejects a message, the ack/reject is ignored, as the message is already gone.

      However, internally the Broker restores credit to the consumer at the point in time the message is deleted. This may allow more messages to the flow to the consumer, possibly exhausting the client's memory. This is most likely to happen on queues with considerable depth.

      In the case where a messages is delete that has already been sent a consumer, restore of the credit should be delayed until the client acks/rejects the message.

      Attachments

        Issue Links

          Activity

            People

              kwall Keith Wall
              kwall Keith Wall
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: