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

Achintya Ghosh updated AMQ-6321:
--------------------------------
    Attachment: activemq3.xml
                activemq2.xml
                activemq1.xml

> Message count is showing negative(-ve) 
> ---------------------------------------
>
>                 Key: AMQ-6321
>                 URL: https://issues.apache.org/jira/browse/AMQ-6321
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: activemq-leveldb-store
>    Affects Versions: 5.13.1
>            Reporter: Achintya Ghosh
>         Attachments: activemq1.xml, activemq2.xml, activemq3.xml, 
> screenshot-1.png
>
>
> We are using ActiveMQ 5.13.1 and ZooKeeper for LevelDB with 3 instances and 
> using master slave protocol. 
> If we post some messages, the current master shows the correct message count 
> but if we bring down master then slave becomes master
>  and it always shows the message count negative(-ve) and we see this WARN in 
> slave's log file:
>  
> 2016-04-25 18:54:37,692 | WARN  | invalid: logRefDecrement: 3087251348 | 
> org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,693 | WARN  | invalid: logRefDecrement: 3087257394 | 
> org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,701 | WARN  | invalid: logRefDecrement: 3087260274 | 
> org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,703 | WARN  | invalid: logRefDecrement: 3087261640 | 
> org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,727 | WARN  | invalid: logRefDecrement: 3087266084 | 
> org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,738 | WARN  | invalid: logRefDecrement: 3087263166 | 
> org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,742 | WARN  | invalid: logRefDecrement: 2621170592 | 
> org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,744 | WARN  | invalid: logRefDecrement: 3087270205 | 
> org.apache.activemq.leveldb.LevelDBClient | Thread-2
> Now if we send more meesages, nothing is getting processed and it's kind of 
> stuck.
> I'm attaching the screenshot of ActiveMQ and the configuration files of 
> activeMQ servers.



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

Reply via email to