You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "cshannon (via GitHub)" <gi...@apache.org> on 2026/08/31 16:54:55 UTC
[PR] [6.3.x] Improve GC checkpoint algorithm for empty durables (#2505) [activemq]
cshannon opened a new pull request, #2506:
URL: https://github.com/apache/activemq/pull/2506
This improves the garbage collection algorithm by re-writing empty durables that exist in any file that is eligible for garbage collection. This allows a single GC cycle to remove any files that have no other commands that need to be kept and free up space quicker.
The previous algorithm would only advance an empty durable subscription command if it existed in the first file in the set. This would cause empty durable subs that were written to other files from being moved in some cases (such as another durable that was offline with pending messages in the same file). In the worst case it could prevent any files from being GC'd, and even in the best case it also meant it would take several GC cycles to actually move the durables which meant keeping files around longer than needed.
(cherry picked from commit c1bb9d6613b7713449e588056cf6bfbbfa92988c)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
Re: [PR] [6.3.x] Improve GC checkpoint algorithm for empty durables (#2505) [activemq]
Posted by "cshannon (via GitHub)" <gi...@apache.org>.
cshannon commented on PR #2506:
URL: https://github.com/apache/activemq/pull/2506#issuecomment-5481604809
This is targeted for 6.3.3 so this should wait for merger until 6.3.2 is finalized and the version is bumped
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
Re: [PR] [6.3.x] Improve GC checkpoint algorithm for empty durables (#2505) [activemq]
Posted by "cshannon (via GitHub)" <gi...@apache.org>.
cshannon merged PR #2506:
URL: https://github.com/apache/activemq/pull/2506
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact