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 5B0C6200CFE for ; Fri, 8 Sep 2017 16:15:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 59AC21609BD; Fri, 8 Sep 2017 14:15:32 +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 A03FC1609A7 for ; Fri, 8 Sep 2017 16:15:31 +0200 (CEST) Received: (qmail 57666 invoked by uid 500); 8 Sep 2017 14:15:29 -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 57655 invoked by uid 99); 8 Sep 2017 14:15:29 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2017 14:15:29 +0000 Received: from mail-qt0-f175.google.com (mail-qt0-f175.google.com [209.85.216.175]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 33C0B1A00C5 for ; Fri, 8 Sep 2017 14:15:27 +0000 (UTC) Received: by mail-qt0-f175.google.com with SMTP id s18so4876580qta.3 for ; Fri, 08 Sep 2017 07:15:27 -0700 (PDT) X-Gm-Message-State: AHPjjUhY7wUUImPfm7rbRks8UZIKg8lkT2GU33TsaEp8Ha8FHqGErDSE KV1fLUS/tPLyfHeCxMGoUp9QyN0pN/Ym X-Google-Smtp-Source: AOwi7QBTTzSKV4MeZ+QQ3k/hcIJuci0eo3eocwjG8AMhgwVq79A8iH6JNAoWKG/UgvuAPz7nGGC8oFlCtfHf46JKNRA= X-Received: by 10.200.20.132 with SMTP id l4mr4406259qtj.10.1504880126269; Fri, 08 Sep 2017 07:15:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.80.212 with HTTP; Fri, 8 Sep 2017 07:15:25 -0700 (PDT) In-Reply-To: References: From: Anton Vinogradov Date: Fri, 8 Sep 2017 17:15:25 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Monitoring of active transactions To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="089e082693785b39f70558ae35f9" archived-at: Fri, 08 Sep 2017 14:15:32 -0000 --089e082693785b39f70558ae35f9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ilya, We extremely need this! Txs and Locks info should be collected on each cluster hang. We already have an issue related to this problem - https://issues.apache.org/jira/browse/IGNITE-4937 Nikolay, Good point, but, seems you should start separate thread to discuss this. On Fri, Sep 8, 2017 at 4:28 PM, Dmitry Pavlov wrote= : > Hi Ilya, > > I'm definitely +1 for including the utility in the product. Perfect > contribution. > > Sincerely, > Dmitriy Pavlov > > =D0=BF=D1=82, 8 =D1=81=D0=B5=D0=BD=D1=82. 2017 =D0=B3. =D0=B2 14:28, Ilya= Lantukh : > > > Igniters, > > > > According to our current design and implementation, unclosed transactio= n > or > > unreleased lock can hang ignite cluster forever. This is logical, and > with > > correct usage of those mechanics such issue should never happen, in rea= l > > world developers can make mistakes and leave transaction open. We have = a > > feature "transaction timeout", but turns out it doesn't work in all cas= es > > (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 incorrec= t > > 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 int= o > > Ignite internals. > > > > What do you think? > > > > -- > > Best regards, > > Ilya > > > --089e082693785b39f70558ae35f9--