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 03F0D200B35 for ; Tue, 5 Jul 2016 23:38:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0280D160A60; Tue, 5 Jul 2016 21:38:16 +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 4BE36160A2C for ; Tue, 5 Jul 2016 23:38:15 +0200 (CEST) Received: (qmail 22843 invoked by uid 500); 5 Jul 2016 21:38:13 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 22786 invoked by uid 99); 5 Jul 2016 21:38:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2016 21:38:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1FA37C0155 for ; Tue, 5 Jul 2016 21:38:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id vCZ9lllredSa for ; Tue, 5 Jul 2016 21:38:12 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id EE3B65F39C for ; Tue, 5 Jul 2016 21:38:11 +0000 (UTC) Received: (qmail 20356 invoked by uid 99); 5 Jul 2016 21:38:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2016 21:38:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1BAE52C02B0 for ; Tue, 5 Jul 2016 21:38:11 +0000 (UTC) Date: Tue, 5 Jul 2016 21:38:11 +0000 (UTC) From: "Eric Shu (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (GEODE-1621) An IllegalArgumentException can be thrown during TXState cleanup() before resources are released MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 05 Jul 2016 21:38:16 -0000 Eric Shu created GEODE-1621: ------------------------------- Summary: An IllegalArgumentException can be thrown during TXState cleanup() before resources are released Key: GEODE-1621 URL: https://issues.apache.org/jira/browse/GEODE-1621 Project: Geode Issue Type: Bug Components: offheap, transactions Reporter: Eric Shu {noformat} DLock the transaction holds will be released in the cleanup() call, before releaseing the offheap resources it held. The following exception could be thrown and cause the cleanup() call failed before releasing offheap resources. [info 2016/07/05 12:20:08.643 PDT gemfire3_w2-2013-lin-03_19481 tid=0x32] java.lang.IllegalArgumentException: Invalid txLockId not found: TXLockId: w2-2013-lin-03(gemfire3_w2-2013-lin-03_19481:19481):1025-0 at com.gemstone.gemfire.internal.cache.locks.TXLockServiceImpl.release(TXLockServiceImpl.java:241) at com.gemstone.gemfire.internal.cache.TXLockRequest.releaseDistributed(TXLockRequest.java:107) at com.gemstone.gemfire.internal.cache.TXLockRequest.cleanup(TXLockRequest.java:139) at com.gemstone.gemfire.internal.cache.TXState.cleanup(TXState.java:817) at com.gemstone.gemfire.internal.cache.TXState.commit(TXState.java:487) at com.gemstone.gemfire.internal.cache.TXStateProxyImpl.commit(TXStateProxyImpl.java:248) at com.gemstone.gemfire.internal.cache.TXManagerImpl.commit(TXManagerImpl.java:354) at com.gemstone.gemfire.internal.cache.TXRemoteCommitMessage.operateOnTx(TXRemoteCommitMessage.java:106) at com.gemstone.gemfire.internal.cache.TXMessage.process(TXMessage.java:89) at com.gemstone.gemfire.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:379) at com.gemstone.gemfire.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:450) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:611) at com.gemstone.gemfire.distributed.internal.DistributionManager$6$1.run(DistributionManager.java:951) at java.lang.Thread.run(Thread.java:745) *** The exception thrown is because the TXLockServices were destroyed during cahce.close() *** *** And the newly created TXLockServices does not hold the DLock for the created by the transaction *** {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)