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

AMQQueueMBean#clearQueue|moveMessages|copyMessages should be certain to rollback transactions in the event of exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: Broker-J
    • Labels:
      None

      Description

      AMQQueueMBean#clearQueue|moveMessages|copyMessages all leave open that possibility that a LocalTransaction goes uncommitted (or unrolledback) in the event of exception.

      This will lead to uncontrolled store growth when used with BDB as would block the action of the cleaner thread.

      A finally block should be used to ensure that transaction is rolled back on any exception.

        Attachments

          Activity

            People

            • Assignee:
              gemmellr Robbie Gemmell
              Reporter:
              k-wall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: