Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 34750 invoked from network); 17 Sep 2008 07:16:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 07:16:13 -0000 Received: (qmail 62187 invoked by uid 500); 17 Sep 2008 07:16:10 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 62158 invoked by uid 500); 17 Sep 2008 07:16:10 -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 62147 invoked by uid 99); 17 Sep 2008 07:16:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 00:16:10 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 07:15:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9AE85234C1D6 for ; Wed, 17 Sep 2008 00:15:52 -0700 (PDT) Message-ID: <615766311.1221635752619.JavaMail.jira@brutus> Date: Wed, 17 Sep 2008 00:15:52 -0700 (PDT) From: "Vadim Chekan (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-1940) Negative queue size (reproducible) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Negative queue size (reproducible) ---------------------------------- Key: AMQ-1940 URL: https://issues.apache.org/activemq/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 Priority: Critical 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.