Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA34D1122C for ; Wed, 2 Jul 2014 06:57:25 +0000 (UTC) Received: (qmail 71479 invoked by uid 500); 2 Jul 2014 06:57:25 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 71412 invoked by uid 500); 2 Jul 2014 06:57:25 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 71399 invoked by uid 99); 2 Jul 2014 06:57:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 06:57:25 +0000 Date: Wed, 2 Jul 2014 06:57:25 +0000 (UTC) From: "Wolfram Schlich (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-1940) Negative queue size (reproducible) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049673#comment-14049673 ] Wolfram Schlich commented on AMQ-1940: -------------------------------------- We also experience this currently with ActiveMQ 5.8.0. > Negative queue size (reproducible) > ---------------------------------- > > Key: AMQ-1940 > URL: https://issues.apache.org/jira/browse/AMQ-1940 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.2.0 > Environment: Found on Windows but reproduced under Linux > Reporter: Vadim Chekan > Assignee: Rob Davies > Priority: Critical > Fix For: 5.3.0 > > Attachments: Main.java, Picture 6.png, QueuePurgeTest.java.diff.txt > > > When you "purge" queue from web admin console, it zeroes queue message > counter. But if you have an active consumer at that time which > pre-fetched messages than your consumer will keep sending ack as it > process messages from its buffer. ActiveMQ will keep decrement counter > upon receiving each ack. So when consumer is done queue will show > MINUS. -- This message was sent by Atlassian JIRA (v6.2#6252)