You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/12/05 14:51:00 UTC

[jira] [Work logged] (ARTEMIS-4065) Option to use non persistent counters in paging. Rebuild them upon start if persistence is disabled on them

     [ https://issues.apache.org/jira/browse/ARTEMIS-4065?focusedWorklogId=831046&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-831046 ]

ASF GitHub Bot logged work on ARTEMIS-4065:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Dec/22 14:50
            Start Date: 05/Dec/22 14:50
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on PR #4265:
URL: https://github.com/apache/activemq-artemis/pull/4265#issuecomment-1337515536

   I updated this PR with a new commit. From now on we save snapshots of the counter upon shutdown.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 831046)
    Time Spent: 50m  (was: 40m)

> Option to use non persistent counters in paging. Rebuild them upon start if persistence is disabled on them
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4065
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4065
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Clebert Suconic
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Instead of storing records on journal for counting how many records there are in paging, the system should instead just swipe the paging system in parallel with processing data.
> The changes I'm making will take a snapshot of the current records of paging, 
> and then it will read all the pages to rebuild the counters.
> On tests I am making from a real data server, a system that had a lot of pages (700) needed less than 1 minute to rebuild the counters, and the messages were available to be delivered while the swipe was being done.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)