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 9F510200D0A for ; Wed, 4 Oct 2017 14:01:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9DFCE1609E2; Wed, 4 Oct 2017 12:01:15 +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 E27C01609D6 for ; Wed, 4 Oct 2017 14:01:14 +0200 (CEST) Received: (qmail 47786 invoked by uid 500); 4 Oct 2017 12:01:14 -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 47772 invoked by uid 99); 4 Oct 2017 12:01:13 -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; Wed, 04 Oct 2017 12:01:13 +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 C6EB0180B4B for ; Wed, 4 Oct 2017 12:01:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.879 X-Spam-Level: X-Spam-Status: No, score=0.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=ya.ru header.b=X+VIZRex; dkim=pass (1024-bit key) header.d=ya.ru header.b=btTWDi7j 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 0jT8v8YY65j4 for ; Wed, 4 Oct 2017 12:01:10 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5E7105FC80 for ; Wed, 4 Oct 2017 12:01:10 +0000 (UTC) Received: from mxback9g.mail.yandex.net (mxback9g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:170]) by forward103j.mail.yandex.net (Yandex) with ESMTP id A45BB34C13CA for ; Wed, 4 Oct 2017 15:01:04 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback9g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id M4bDXaeeYf-14DW0LkH; Wed, 04 Oct 2017 15:01:04 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1507118464; bh=Z29ogzreZB1mWNinLgrf7h9pW23x72ydyThECX8tuw4=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=X+VIZRexaDtSo4EEtU8B6AetIIuJ+RcVH0d2r4KmT5hur5xBopubInhDhPZkFnEBV e1eI0qzJX2RbXWdjxq6MmWioqMruivwR6mauuNUcbiwrLYKqMH4QkrxGl6dWm8jflz RsT9QlKHBhzS8g6IDejhgIrirNBdRu54FP0EnVjU= Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id AU2vlRGhiN-13x4aL2c; Wed, 04 Oct 2017 15:01:03 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1507118463; bh=Z29ogzreZB1mWNinLgrf7h9pW23x72ydyThECX8tuw4=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=btTWDi7jdSxYkxOYcpDqP7RV/pNAXyE7B6iQVfFid8eINdX1WS6Ykyins4jSv9Umm O+apkjCQouUJXrsDgHRFJC//q70B+7uuQKz1KTTH7LtCPmurQ5Ah+alhB03A4QPvZg vqK3igU78vcdADEyo+ZiMoS0aZUWcAaWhLj0iKEU= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@ya.ru Subject: Re: Identifying grid transactions To: dev@ignite.apache.org References: From: Konstantin Dudkov Message-ID: Date: Wed, 4 Oct 2017 15:01:03 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit archived-at: Wed, 04 Oct 2017 12:01:15 -0000 Hi, .withTag maybe? 04/10/2017 14:52, Sergey Kozlov пишет: > Hi > > .withApplication and .withMetatData may narrow use case. Looks like . > withDescription can have more sense and allow use write any information > valuable for further debugging. > > On Wed, Oct 4, 2017 at 2:47 PM, Dmitriy Setrakyan > wrote: > >> I would rename to "withMetadata()". >> >> On Wed, Oct 4, 2017 at 2:31 PM, Vladimir Ozerov >> wrote: >> >>> Alex, >>> >>> I do not think we have such feature in the product at the moment. But >> this >>> could be very valuable addition. For example, we have somewhat similar >> task >>> for JDBC - to track applications that use the driver [1]. We can think of >>> adding a single optional string to transaction protocol, so that we can >>> track application/module on any node. E.g.: >>> >>> IgniteTransactions transactions = ignite.transactions(). >> withApplication(" >>> *myApp:myModule*"); >>> >>> And then all usages of this facade will propagate application to all >> nodes. >>> >>> Thoughts? >>> >>> [1] https://issues.apache.org/jira/browse/IGNITE-5453 >>> >>> On Wed, Oct 4, 2017 at 1:22 PM, Alexei Scherbakov < >>> alexey.scherbakoff@gmail.com> wrote: >>> >>>> Alexey, >>>> >>>> Simplest way: wrap IgniteTransactions instance returned by >>>> ignite.transactions() with delegate using advanced logging capabilities >>> for >>>> tx* methods, like current thread and stack trace. >>>> >>>> There is no notion of transaction parameters. >>>> >>>> 2017-10-04 12:40 GMT+03:00 Alexey Inozemtsev < >>> alexey.inozemtsev@gmail.com >>>>> : >>>> >>>>> Igniters, >>>>> A team I'm working with uses Apache Ignite massively. >>>>> There are many application modules using the cluster. >>>>> We've faced a problem on how to identify the external app >>>>> modules which keep transactions open in the grid. >>>>> Right now we have to restart client nodes to get reed of them. >>>>> >>>>> Is there a parameter on Ignite transaction to (ala MODULE in Oracle) >>>> which >>>>> can be set on a client side? >>>>> Are there other ways to manage such a situation? >>>>> >>>>> Have a nice day, >>>>> Alexey >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Best regards, >>>> Alexei Scherbakov >>>> >>> >> > > > -- Regards, Konstantin.