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)

Reply via email to