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

Provide scavenge() for SimpleQueueEntryList - TRUNK MERGE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: Java Broker
    • Labels:
      None

      Description

      Currently selectors, multiple consumers and message expiry can cause messages to be deleted mid queue. These are left as deleted entries in the list and will not be GC'd as they are part of the list structure.

      This scavenge method will walk the list and remove them.

        Issue Links

          Activity

          Hide
          ritchiem Martin Ritchie added a comment -

          This scavange() appraoch should be merged to trunk

          Show
          ritchiem Martin Ritchie added a comment - This scavange() appraoch should be merged to trunk
          Hide
          gemmellr Robbie Gemmell added a comment -

          I have updated the trunk scavenge() implementation to match the simplified implementation added subsequently on the 0.5.x-dev branch.

          Show
          gemmellr Robbie Gemmell added a comment - I have updated the trunk scavenge() implementation to match the simplified implementation added subsequently on the 0.5.x-dev branch.

            People

            • Assignee:
              gemmellr Robbie Gemmell
              Reporter:
              ritchiem Martin Ritchie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development