Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7D4F8200B44 for ; Thu, 14 Jul 2016 15:23:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 79716160A52; Thu, 14 Jul 2016 13:23:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C149B160A85 for ; Thu, 14 Jul 2016 15:23:21 +0200 (CEST) Received: (qmail 2684 invoked by uid 500); 14 Jul 2016 13:23:20 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 2647 invoked by uid 99); 14 Jul 2016 13:23:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2016 13:23:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 81E222C02A4 for ; Thu, 14 Jul 2016 13:23:20 +0000 (UTC) Date: Thu, 14 Jul 2016 13:23:20 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-6356) Processing a KahaUpdateMessageCommand can lead to wrong store size being reported MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 14 Jul 2016 13:23:22 -0000 [ https://issues.apache.org/jira/browse/AMQ-6356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376895#comment-15376895 ] ASF subversion and git services commented on AMQ-6356: ------------------------------------------------------ Commit f1642b4244b0bbbdeaaec6fe4808c9e54835fbf7 in activemq's branch refs/heads/activemq-5.13.x from [~cshannon] [ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=f1642b4 ] https://issues.apache.org/jira/browse/AMQ-6356 Fixing store size calculation on KahaUpdateMessageCommand processing so that the size won't increase inadvertently if the existing location of the command in the journal is the same as the new location (cherry picked from commit a5050a8bc5b5f45852269867dd9bf46b9381912d) > Processing a KahaUpdateMessageCommand can lead to wrong store size being reported > ---------------------------------------------------------------------------------- > > Key: AMQ-6356 > URL: https://issues.apache.org/jira/browse/AMQ-6356 > Project: ActiveMQ > Issue Type: Bug > Components: Broker, KahaDB > Affects Versions: 5.13.3 > Reporter: Christopher L. Shannon > Assignee: Christopher L. Shannon > Priority: Minor > > When KahaDB processes a KahaUpdateMessageCommand it's possible for the size statistic to be inadvertently increased in size. This can happen if the location in the journal of the message command matches the new location. This bug won't show up in normal usage as typically an update message command is only processed when a new command is written to the journal (and hence a new location) but should still be fixed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)