You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/04/07 14:34:00 UTC

[jira] [Commented] (ARTEMIS-3761) Cleanup paged messages in the middle of the stream

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

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

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

ARTEMIS-3769 Fixing queue browsing iterator avoiding NoSuchElement exception from the Iteration

QueueImpl::browserIterator could throw NoSuchElementException and this is fixing the iterator
Found this while testing ARTEMIS-3761


> 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)