You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "yangwei (JIRA)" <ji...@apache.org> on 2018/11/29 03:12:00 UTC

[jira] [Created] (ARTEMIS-2187) PageCursorInfo put into consumedPages when page is deleting

yangwei created ARTEMIS-2187:
--------------------------------

             Summary: 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


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)