Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3214

apply automatic page-in when all messages in a queue have expired

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.17.0
    • None
    • Broker
    • None

    Description

      When there are many messages in a queue, the messages are (by default) paged.
      However, when all these messages expire (given that a TTL is set), and there are no consumers, only the in-memory messages are removed. This leaves all paged messages in their on-disk state, thus preventing further actual message expiry.

      Is it possible to add a function where messages are paged-in more often? e.g. when the in-memory part of the queue is empty during an expiry-sweep. This is useful even when only one chunk is paged-in to not keep the expiry-thread unreasonably busy. This will eventually lead to the actual expiry.

      Attachments

        Activity

          People

            Unassigned Unassigned
            erwindon Erwin Dondorp
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: