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 CF830200CFD for ; Wed, 6 Sep 2017 09:55:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CE3CC1609BA; Wed, 6 Sep 2017 07:55:55 +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 206751609B8 for ; Wed, 6 Sep 2017 09:55:54 +0200 (CEST) Received: (qmail 58699 invoked by uid 500); 6 Sep 2017 07:55:54 -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 58687 invoked by uid 99); 6 Sep 2017 07:55:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2017 07:55:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 405E91A6592 for ; Wed, 6 Sep 2017 07:55:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=truetel-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id PKSZjVqEggYh for ; Wed, 6 Sep 2017 07:55:52 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2F7265F1EE for ; Wed, 6 Sep 2017 07:55:51 +0000 (UTC) Received: by mail-qk0-f173.google.com with SMTP id b23so17542705qkg.1 for ; Wed, 06 Sep 2017 00:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=truetel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=sqwExxx3JhEhXeGMg4Rh7AM2xRVAbKNUvBhZAF9Esss=; b=A9InzyvoaIuDReWXWISHFPrVCvISQTBno5KR3R97jI5enQQM3Xxjs9YGiEGgyYTGI2 Q3QD4JFMtMR1xwScIJsJAYDh24cR0x8futn7V6zsDbL1wer1MwwrQJii26m3aL9fSpis zAJN91YM5AYFXMUwi6/DQpErXaSPEztq+hTZWLz5lS30Py26uAwifocqVIqFTPP3ioQs vNWVRXXKUZq+WEh3+9mwtlBM1g64t1+Uvs/bS1jo40vVFAhB0fmtq9E3F8fHe2l8PeFh O+/0eBLcfQ+17DEmJYAQfZsm1hUjvHy19sb19cIwZMgSEaTZdZUK+vuWJqzimQcX9hbo m0WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sqwExxx3JhEhXeGMg4Rh7AM2xRVAbKNUvBhZAF9Esss=; b=gv2ulJj9eNcTSp3lhpwLEicWj3tx746PhXlJDtmVoK0HpnOtXSVmf6Hx4WCGat6W4k 24SGaCFdiBhzDwo0vx78+8QNj0TWAK8ZLQwdGQpPdHrcxKfqUCRyjguL6VVkSJZkZB+/ 7rE5eNbkRGBPb1tDpqEde/LsszBe6BoblQC9UUsK/QQq3hVGAPy5ZR3+EjXZ6f1Qvp2W uv7Twf//2fKTvqP8AaA5VlD6v2UradIOmEq0p1r8/AV7pZdNhmPi2lz90eAsyV5nS1KG KKRBj6XRublVtCd8MMBjLxIxNmLG5P4hMfvjFzeeKSc80TThIuFk5ZpdnnYC0hd3KFEB hSkg== X-Gm-Message-State: AHPjjUhd9xVhYb9+ID2b/oszobw1hw0LinaiK2ipJa/dK79pjHg2qs3k n1iJB61nRDemePrvC4VZwIAJhW5bMovfx4w= X-Google-Smtp-Source: AOwi7QD0CsCazMASV3n+JmZQo0wZNn9t4lkzQhrCRQ9tncBq23tFhmb+k0AuoIyIzP2VNy+SIjm05SF5U3c5A6bVYAE= X-Received: by 10.55.151.135 with SMTP id z129mr2364207qkd.119.1504684543611; Wed, 06 Sep 2017 00:55:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.212.69 with HTTP; Wed, 6 Sep 2017 00:55:43 -0700 (PDT) From: Jimmy Hsu Date: Wed, 6 Sep 2017 15:55:43 +0800 Message-ID: Subject: Artemis 2.1.0: File journal transaction recover issue To: dev@activemq.apache.org Content-Type: multipart/alternative; boundary="94eb2c07dc6cb8aaa8055880ab92" archived-at: Wed, 06 Sep 2017 07:55:56 -0000 --94eb2c07dc6cb8aaa8055880ab92 Content-Type: text/plain; charset="UTF-8" Hi there, I found I had some untouchable messages in the queue. This happened when my application crash, and there were some hanged transactions. However I had killed these hanged transactions from the sql sites. The Artemis server loads all prepared transactions at boot time from the journal files, and marked these messages "delivering". Unfortunately all delivering messages are count included getMessageCount. How to prevent this from happening again? ----- Jimmy Hsu --94eb2c07dc6cb8aaa8055880ab92--