Client transactions withLabel

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Client transactions withLabel

Sergey Stronchinskiy
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!
Reply | Threaded
Open this post in threaded view
|

Re: Client transactions withLabel

Alexey Plekhanov
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 <[hidden email]>:

> 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!
>
Reply | Threaded
Open this post in threaded view
|

Re: Client transactions withLabel

Sergey Stronchinskiy
Thank you Alex !

On Fri, 5 Jun 2020 at 01:23, Alex Plehanov <[hidden email]> 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 <[hidden email]>:
>
> > 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!
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Client transactions withLabel

Sergey Stronchinskiy
Alex, one more question, can I somehow access the label from the client?

On Fri, 5 Jun 2020 at 01:43, Guru Stron <[hidden email]> wrote:

> Thank you Alex !
>
> On Fri, 5 Jun 2020 at 01:23, Alex Plehanov <[hidden email]>
> 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 <[hidden email]>:
>>
>> > 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!
>> >
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Client transactions withLabel

Alexey Plekhanov
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 <[hidden email]>:

> Alex, one more question, can I somehow access the label from the client?
>
> On Fri, 5 Jun 2020 at 01:43, Guru Stron <[hidden email]> wrote:
>
> > Thank you Alex !
> >
> > On Fri, 5 Jun 2020 at 01:23, Alex Plehanov <[hidden email]>
> > 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 <[hidden email]>:
> >>
> >> > 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!
> >> >
> >>
> >
>