[
https://issues.apache.org/jira/browse/ARTEMIS-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16745614#comment-16745614
]
ASF subversion and git services commented on ARTEMIS-2187:
----------------------------------------------------------
Commit d627b95f2df53445679525a9a7d97d5586ece7e8 in activemq-artemis's branch
refs/heads/2.6.x from yang wei
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=d627b95 ]
ARTEMIS-2187 remove page from softcache before consumedpage
(cherry picked from commit 5ea72022a1922b630d68737a82ccee1265c6fae7)
> 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
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)