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 4D22A200CFE for ; Fri, 8 Sep 2017 13:28:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4BA20160FE5; Fri, 8 Sep 2017 11:28:07 +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 999D3160C62 for ; Fri, 8 Sep 2017 13:28:06 +0200 (CEST) Received: (qmail 4263 invoked by uid 500); 8 Sep 2017 11:28:05 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 4250 invoked by uid 99); 8 Sep 2017 11:28:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2017 11:28:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C221618FC27 for ; Fri, 8 Sep 2017 11:28:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 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, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id CQ72Mgl_LOCK for ; Fri, 8 Sep 2017 11:27:59 +0000 (UTC) Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com [209.85.161.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 03F535F3D1 for ; Fri, 8 Sep 2017 11:27:59 +0000 (UTC) Received: by mail-yw0-f174.google.com with SMTP id v72so4435834ywa.3 for ; Fri, 08 Sep 2017 04:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=d66NUbszsYPfekhPSOHOhpgZSMxbKrA4G3UVYBK/gmo=; b=BElIzMualnntkpKODRxmu8pGeGSoLchpgKgePRdNa/JVmbeuf6cmc5R/h9xWFLIP2f dsmIOyhycPQuWtzGeqwUnCm0mHQF9TcYj4ytbjs7Ir6DhQ+5D3qy95cfF0pprFEcEMGJ VNJGY2in7UP9ZNEdEjWsZ1UZVpVxun/HTl+tKK0Qnj03Sg8m+famQJ66RDqDvUQPOZuY 31/TaemwFkW4JoD1yH2f1xwhFdNDL34b0ruDrTOJq6GgYuOgsi6PaqG3nOxm0ec7AVH+ LQumoCKApXNM2aDyQo3xLHbCOVg2BVLitjd92m5hqFBLKUB6n3P9Nf1HkeApGmLBH/DQ 5tbg== 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=d66NUbszsYPfekhPSOHOhpgZSMxbKrA4G3UVYBK/gmo=; b=WzsnRzbJVJG+ENLvNKNhFTo0D6u3KXr98GpCpKywCZSE73L1LrrXhTSe/1mKnYdnxN 8O9UpwieAxlPSXBLiK0V/tDCkl96lHcW2NoWDunHwqUlx9MAHnmNQpvhpdpT7a/G51Em 46mnMyere0NzJBvYINLofHVhNyyDyfR8oRC+DBauarD8crLyGL92Yfr85xIABxcwrnKz xCkJ3L4PK4sQ0cP0UgnMXmI2hQhxwiVhsHX9dfiezaz48ftbeN6F6cEno8UD7t9FDMCn nGryXY09gix4iR/jQobAir1fKmmWX44RCEMbn8gVs2xyaYyxIFbjG/B4LLhL07790xiB fXQw== X-Gm-Message-State: AHPjjUjEW0ewEOLXv+EprAr8QxgT80xYCaMzRpbPjbfQhS7DtlGlVRXe CZMZlfgSUlrLauiVnkq+Va88n6RIXNd2i0Bvug== X-Google-Smtp-Source: ADKCNb76AvH+lc8yUGgnKuURW8xkFLghUG6d3ouNgSHVvOx/mgHe07+ij0szlFwTBKSnwTj2nB/Z1GSezs+P9xZfsxs= X-Received: by 10.129.124.193 with SMTP id x184mr2074617ywc.169.1504870072158; Fri, 08 Sep 2017 04:27:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.161.205 with HTTP; Fri, 8 Sep 2017 04:27:51 -0700 (PDT) From: Ilya Lantukh Date: Fri, 8 Sep 2017 14:27:51 +0300 Message-ID: Subject: Monitoring of active transactions To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="001a1149333c15a8360558abde9f" archived-at: Fri, 08 Sep 2017 11:28:07 -0000 --001a1149333c15a8360558abde9f Content-Type: text/plain; charset="UTF-8" Igniters, According to our current design and implementation, unclosed transaction or unreleased lock can hang ignite cluster forever. This is logical, and with correct usage of those mechanics such issue should never happen, in real world developers can make mistakes and leave transaction open. We have a feature "transaction timeout", but turns out it doesn't work in all cases (see https://issues.apache.org/jira/browse/IGNITE-6181). Even if all known issues are fixed, there is still a lot of room for mistake and incorrect usage. To make it possible for Ignite users to discover such problem and trace it to a particular part of code, I've created a very simple utility that collects and prints information about long running transactions for the whole cluster. It is available here: https://github.com/ilantukh/IgniteTxViewer. One might expect such monitoring utilities to be included in Ignite codebase. Personally, I think that such information should be available from public API, without using of additional applications or diving into Ignite internals. What do you think? -- Best regards, Ilya --001a1149333c15a8360558abde9f--