Qpid
  1. Qpid
  2. QPID-2704

Provide scavenge() for SimpleQueueEntryList - TRUNK MERGE

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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
          Martin Ritchie added a comment -

          This scavange() appraoch should be merged to trunk

          Show
          Martin Ritchie added a comment - This scavange() appraoch should be merged to trunk
          Hide
          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
          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:
              Robbie Gemmell
              Reporter:
              Martin Ritchie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development