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

Alan Protasio updated AMQ-7163:
-------------------------------
    Description: 
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 happens to any future restart as long as the 
number of free pages is = 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]

 

  was:
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 happens to any future restart as long as the 
number of free pages is = 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]

 


> 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 happens to any future restart as long 
> as the number of free pages is = 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)

Reply via email to