activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher L. Shannon (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-5960) Durable subscriber pendingQueueSize wrong after force shutdown of the broker
Date Thu, 10 Sep 2015 11:50:46 GMT

    [ https://issues.apache.org/jira/browse/AMQ-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738619#comment-14738619
] 

Christopher L. Shannon edited comment on AMQ-5960 at 9/10/15 11:50 AM:
-----------------------------------------------------------------------

[~dejanb],

Looks like your patch caused this failure:

https://builds.apache.org/view/All/job/ActiveMQ-Java8/org.apache.activemq$activemq-kahadb-store/471/testReport/junit/org.apache.activemq.store.kahadb/JournalCorruptionEofIndexRecoveryTest/testRecoverIndex/

Probably just need a null check added.


was (Author: christopher.l.shannon):
[~dejanb],

https://builds.apache.org/view/All/job/ActiveMQ-Java8/org.apache.activemq$activemq-kahadb-store/471/testReport/junit/org.apache.activemq.store.kahadb/JournalCorruptionEofIndexRecoveryTest/testRecoverIndex/

Probably just need a null check added.

> Durable subscriber pendingQueueSize wrong after force shutdown of the broker
> ----------------------------------------------------------------------------
>
>                 Key: AMQ-5960
>                 URL: https://issues.apache.org/jira/browse/AMQ-5960
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.12.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.13.0
>
>
> The main reason for this is that ackPositions (based on which pendingQueueSize is calculated)
is not rebuilt correctly during index recover.
> To reproduce it:
> 1. Start the broker
> 2. Start producer and durable consumer on a topic, making a load
> 3. Kill the broker with -9
> 4. Restart the broker
> The durable consumer pendingQueueSize is off by one and is never corrected



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message