ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Pavlov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-8419) Clear javadoc for tx markers
Date Tue, 15 May 2018 13:11:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-8419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475806#comment-16475806

Dmitriy Pavlov commented on IGNITE-8419:

Hi [~avinogradov], 

I support the addition of Javados and I often add comments to PDS/PageMemory code. 

But I'm not an expert in transactions, so I'm not sure what I can do here.

I know [~agura] has experience in Ignite TX, probably Andrey could help.

Alternatively you could assign issue to yourself and contribute the patch. Feel free to ask
any questions in dev.list.

Dmitriy Pavlov

> 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 backup -
>  eg. GridDhtTxRemote
>  flags: dht | remote
> P.s. 
>  "How about we explain it in javadocs and properly document on wiki?" (c) Yakov (see.
devlist discussion)

This message was sent by Atlassian JIRA

View raw message