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 2019/03/06 23:35:00 UTC

[jira] [Work logged] (AMQ-7163) Related to AMQ-7082 - If the broker had an unclean shutdown and number of free pages is Zero after the recovery, the next shutdown will also be "unclean"

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

ASF GitHub Bot logged work on AMQ-7163:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Mar/19 23:34
            Start Date: 06/Mar/19 23:34
    Worklog Time Spent: 10m 
      Work Description: alanprot commented on pull request #350: AMQ-7163 - If the broker had an unclean shutdown and number of free p…
URL: https://github.com/apache/activemq/pull/350
 
 
   …ages is Zero after the recovery, the next shutdown will also be 'unclean'
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

            Worklog Id:     (was: 209231)
            Time Spent: 10m
    Remaining Estimate: 0h

> Related to AMQ-7082 - If the broker had an unclean shutdown and number of free pages is Zero after the recovery, the next shutdown will also be "unclean"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-7163
>                 URL: https://issues.apache.org/jira/browse/AMQ-7163
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: KahaDB
>            Reporter: Alan Protasio
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hi,
> This is related to AMQ-7082.
> If the broker had an unclean shutdown and the recovery thread didn't find any free pages (newFreePages is empty the recovery), the broker will have a second unclean shutdown (and this will remain as to any number of restarts if the number of free pages is always = 0;
>  
> See:
>  
> [https://github.com/apache/activemq/blob/9e6543551731ef0241967ca545c9a4956876cb86/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/page/PageFile.java#L484]
>  
> [https://github.com/apache/activemq/blob/9e6543551731ef0241967ca545c9a4956876cb86/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/page/PageFile.java#L584]
>  
> https://github.com/apache/activemq/blob/9e6543551731ef0241967ca545c9a4956876cb86/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/disk/page/PageFile.java#L527
>  



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