[
https://issues.apache.org/jira/browse/ARTEMIS-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738188#comment-16738188
]
ASF GitHub Bot commented on ARTEMIS-2187:
-----------------------------------------
Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/2445
Can we have some tests here please, a) to show the issue ensuring the fix
does fix it, and b) to ensure no regression.
> PageCursorInfo put into consumedPages when page is deleting
> -----------------------------------------------------------
>
> Key: ARTEMIS-2187
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2187
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Reporter: yangwei
> Priority: Major
>
> We found some PageCursorInfo in consumedPage map even if these corresponding
> page file is deleted.
> Suppose that there is a topic t with some messages not routed to subscriber
> ta. When calling ta.deliverAsync(),
> DeliverRunner->deliver->checkDepage->pageIterator.hasNext->
> processACK->cleanup is called in the pageSubscription's executor(step1), then
> checkDepage->pageIterator.hasNext->processACK->getPageInfo is called(step2).
> At this time(step2) pageCursorInfo maybe again put into consumedPage when the
> page is removed from consumedPage but not from softCache(int step1).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)