[ 
https://issues.apache.org/jira/browse/ARTEMIS-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17518925#comment-17518925
 ] 

ASF subversion and git services commented on ARTEMIS-3761:
----------------------------------------------------------

Commit cfdb710a085b7d5994bfeb1d65357388b0d643b5 in activemq-artemis's branch 
refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=cfdb710a08 ]

ARTEMIS-3761 Improve page cleanup to remove messages in the middle of the 
stream as well

Paging only removes files at the beginning of the stream...
Say you have paged files 1 through 1000...
if all the messages are ack, but one message on file 1 is missing an ack, all 
the 999 subsequent files would not be removed until all the messages on file 1 
is ack.
This was working as engineered, but sometimes devs don't have complete control 
on their app.
With this improvement we will now remove messages in the middle of the stream 
as well.

There is also some improvement to how browsing and page work with this


> Cleanup paged messages in the middle of the stream
> --------------------------------------------------
>
>                 Key: ARTEMIS-3761
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3761
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>    Affects Versions: 2.21.0
>            Reporter: Clebert Suconic
>            Priority: Major
>             Fix For: 2.22.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Paging only removes files at the beginning of the stream...
> Say you have paged files 1 through 1000... 
> if all the messages are ack, but one message on file 1 is missing an ack, all 
> the 999 subsequent files would not be removed until  all the messages on file 
> 1 is ack.
> This was working as engineered, but sometimes devs don't have complete 
> control on their app.
> With this improvement we will now remove messages in the middle of the stream 
> as well.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to