You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Guru Stron <gu...@gmail.com> on 2020/06/04 21:49:10 UTC

Client transactions withLabel

Hi Igniters,

I'm trying to implement thin client transactions for .NET and was wondering
what is the point of transaction label in thin clients? I've browsed a
little bit through Java implementation and don't see where it is used cause
it seems that it can be only set and there is no public APi to access it.

Thank you!

Re: Client transactions withLabel

Posted by Alex Plehanov <pl...@gmail.com>.
Guru,

There are no operations now to request a transaction label from the
server-side. But label can't be modified after transaction creation, so, if
you want to provide to user ability to get a label for a currently running
transaction, you can just store a label on the client-side when you start a
transaction.

вс, 7 июн. 2020 г. в 15:42, Guru Stron <gu...@gmail.com>:

> Alex, one more question, can I somehow access the label from the client?
>
> On Fri, 5 Jun 2020 at 01:43, Guru Stron <gu...@gmail.com> wrote:
>
> > Thank you Alex !
> >
> > On Fri, 5 Jun 2020 at 01:23, Alex Plehanov <pl...@gmail.com>
> > wrote:
> >
> >> Hello,
> >>
> >> The transaction label is helpful for diagnostic and exposed to some
> >> diagnostic tools (SYS.TRANSACTIONS system view, control.sh commands, JMX
> >> TransactionsMXBean, long-running transactions dump in logs), so you
> should
> >> be able to set it by thin client, to view it later by these tools.
> >>
> >> пт, 5 июн. 2020 г. в 00:49, Guru Stron <gu...@gmail.com>:
> >>
> >> > Hi Igniters,
> >> >
> >> > I'm trying to implement thin client transactions for .NET and was
> >> wondering
> >> > what is the point of transaction label in thin clients? I've browsed a
> >> > little bit through Java implementation and don't see where it is used
> >> cause
> >> > it seems that it can be only set and there is no public APi to access
> >> it.
> >> >
> >> > Thank you!
> >> >
> >>
> >
>

Re: Client transactions withLabel

Posted by Guru Stron <gu...@gmail.com>.
Alex, one more question, can I somehow access the label from the client?

On Fri, 5 Jun 2020 at 01:43, Guru Stron <gu...@gmail.com> wrote:

> Thank you Alex !
>
> On Fri, 5 Jun 2020 at 01:23, Alex Plehanov <pl...@gmail.com>
> wrote:
>
>> Hello,
>>
>> The transaction label is helpful for diagnostic and exposed to some
>> diagnostic tools (SYS.TRANSACTIONS system view, control.sh commands, JMX
>> TransactionsMXBean, long-running transactions dump in logs), so you should
>> be able to set it by thin client, to view it later by these tools.
>>
>> пт, 5 июн. 2020 г. в 00:49, Guru Stron <gu...@gmail.com>:
>>
>> > Hi Igniters,
>> >
>> > I'm trying to implement thin client transactions for .NET and was
>> wondering
>> > what is the point of transaction label in thin clients? I've browsed a
>> > little bit through Java implementation and don't see where it is used
>> cause
>> > it seems that it can be only set and there is no public APi to access
>> it.
>> >
>> > Thank you!
>> >
>>
>

Re: Client transactions withLabel

Posted by Guru Stron <gu...@gmail.com>.
Thank you Alex !

On Fri, 5 Jun 2020 at 01:23, Alex Plehanov <pl...@gmail.com> wrote:

> Hello,
>
> The transaction label is helpful for diagnostic and exposed to some
> diagnostic tools (SYS.TRANSACTIONS system view, control.sh commands, JMX
> TransactionsMXBean, long-running transactions dump in logs), so you should
> be able to set it by thin client, to view it later by these tools.
>
> пт, 5 июн. 2020 г. в 00:49, Guru Stron <gu...@gmail.com>:
>
> > Hi Igniters,
> >
> > I'm trying to implement thin client transactions for .NET and was
> wondering
> > what is the point of transaction label in thin clients? I've browsed a
> > little bit through Java implementation and don't see where it is used
> cause
> > it seems that it can be only set and there is no public APi to access it.
> >
> > Thank you!
> >
>

Re: Client transactions withLabel

Posted by Alex Plehanov <pl...@gmail.com>.
Hello,

The transaction label is helpful for diagnostic and exposed to some
diagnostic tools (SYS.TRANSACTIONS system view, control.sh commands, JMX
TransactionsMXBean, long-running transactions dump in logs), so you should
be able to set it by thin client, to view it later by these tools.

пт, 5 июн. 2020 г. в 00:49, Guru Stron <gu...@gmail.com>:

> Hi Igniters,
>
> I'm trying to implement thin client transactions for .NET and was wondering
> what is the point of transaction label in thin clients? I've browsed a
> little bit through Java implementation and don't see where it is used cause
> it seems that it can be only set and there is no public APi to access it.
>
> Thank you!
>