You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2018/04/28 09:56:00 UTC

[jira] [Updated] (IGNITE-8419) Clear javadoc for tx markers

     [ https://issues.apache.org/jira/browse/IGNITE-8419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kuznetsov updated IGNITE-8419:
-------------------------------------
    Description: 
Currently, newcomers have problems with tx code understanding since markers are not clear

I propose to write a clear javadoc for reasonable markers of IgniteInternalTx
- local
- near 
- dht
- remote
- colocated

am I missed something?

I see how it works, but it takes a time to understand it again each time I'm working with tx's.

Some tips abouf flags:

Tx created on originating node
eg. GridNearTxLocal
flags: near | local

Tx created on primary node
eg. GridDhtTxLocal 
flags: dht | local
 
Tx created on remote -
eg. GridDhtTxRemote
flags: dht | remote 




  was:
Currently, newcomers have problems with tx code understanding since markers are not clear

I propose to write a clear javadoc for reasonable markers of IgniteInternalTx
- local
- near 
- dht
- remote
- colocated

am I missed something?

I see how it works, but it takes a time to understand it again each time I'm working with tx's.

Some tips abouf flags:

Tx created on originating node
eg. GridNearTxLocal
flags: near | local

Tx created on primary node
eg. GridDhtTxLocal 
flags: dht | local
 
Tx created on primary -
eg. GridDhtTxRemote
flags: dht | remote 





> Clear javadoc for tx markers
> ----------------------------
>
>                 Key: IGNITE-8419
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8419
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Anton Vinogradov
>            Priority: Major
>
> Currently, newcomers have problems with tx code understanding since markers are not clear
> I propose to write a clear javadoc for reasonable markers of IgniteInternalTx
> - local
> - near 
> - dht
> - remote
> - colocated
> am I missed something?
> I see how it works, but it takes a time to understand it again each time I'm working with tx's.
> Some tips abouf flags:
> Tx created on originating node
> eg. GridNearTxLocal
> flags: near | local
> Tx created on primary node
> eg. GridDhtTxLocal 
> flags: dht | local
>  
> Tx created on remote -
> eg. GridDhtTxRemote
> flags: dht | remote 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)