Qpid
  1. Qpid
  2. QPID-2704

Provide scavenge() for SimpleQueueEntryList - TRUNK MERGE

    Details

    • Type: Bug Bug
    • Status: Closed
    • 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

          Martin Ritchie created issue -
          Martin Ritchie made changes -
          Field Original Value New Value
          Link This issue is a clone of QPID-2597 [ QPID-2597 ]
          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
          Robbie Gemmell made changes -
          Assignee Martin Ritchie [ ritchiem ] Robbie Gemmell [ gemmellr ]
          Robbie Gemmell made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Robbie Gemmell made changes -
          Status In Progress [ 3 ] Ready To Review [ 10006 ]
          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.
          Robbie Gemmell made changes -
          Status Ready To Review [ 10006 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Rob Godfrey made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development