You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Iliya Grushevskiy (Jira)" <ji...@apache.org> on 2023/02/10 12:48:00 UTC

[jira] [Commented] (ARTEMIS-4165) Page transactions not getting deleted on queue deletion

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

Iliya Grushevskiy commented on ARTEMIS-4165:
--------------------------------------------

I have created branch with test and very primitive solution [https://github.com/iliya-gr/activemq-artemis/tree/ARTEMIS-4165]

I don't want to open pull request, because I think my solution is at least questionable and probably wrong.

> Page transactions not getting deleted on queue deletion
> -------------------------------------------------------
>
>                 Key: ARTEMIS-4165
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4165
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.28.0
>            Reporter: Iliya Grushevskiy
>            Priority: Major
>
> If the queue contains paged messages then during queue deletion those message records won't be updated. That will lead to journal grows as those records will never get removed from journal.
> {code:java}
> operation@AddRecordTX;txID=107743391288,recordID=107743391443;userRecordType=35;isUpdate=false;compactCount=18;PageTransactionInfoImpl(transactionID=107743391288,id=107743391443,numberOfMessages=1)
> operation@Commit;txID=107743391288,numberOfRecords=1
> operation@AddRecordTX;txID=107743391258,recordID=107743391446;userRecordType=35;isUpdate=false;compactCount=18;PageTransactionInfoImpl(transactionID=107743391258,id=107743391446,numberOfMessages=1){code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)