[ 
https://issues.apache.org/jira/browse/ARTEMIS-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Nigro updated ARTEMIS-1852:
-------------------------------------
    Description: 
PageCursorProviderImpl is not handling any pending cleanup tasks
on stop, leaving paging enabled due to the remaining pages to be
cleared up.
PagingStoreImpl is responsible to trigger the flushing of pending
tasks on PageCursorProviderImpl before stopping it and to try to
execute any remaining tasks on the owned common executor, before
shutting it down.
It fixes testTopicsWithNonDurableSubscription.

  was:
PageCursorProviderImpl::stop is not handling any scheduled cleanup tasksĀ on 
stop, leaving paging enabled due to the remaining pages to be
cleared up.
It fixes testTopicsWithNonDurableSubscription.


> PageCursorProvider is leaking cleanup tasks while stopping
> ----------------------------------------------------------
>
>                 Key: ARTEMIS-1852
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1852
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.5.0
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>             Fix For: 2.5.1
>
>
> PageCursorProviderImpl is not handling any pending cleanup tasks
> on stop, leaving paging enabled due to the remaining pages to be
> cleared up.
> PagingStoreImpl is responsible to trigger the flushing of pending
> tasks on PageCursorProviderImpl before stopping it and to try to
> execute any remaining tasks on the owned common executor, before
> shutting it down.
> It fixes testTopicsWithNonDurableSubscription.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to