You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2019/10/10 11:30:00 UTC

[jira] [Updated] (IGNITE-11415) Initiator server node writes all transaction entries to WAL instead of only local partition entries

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

Maxim Muzafarov updated IGNITE-11415:
-------------------------------------
    Fix Version/s: 2.9

> Initiator server node writes all transaction entries to WAL instead of only local partition entries
> ---------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11415
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11415
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Rakov
>            Priority: Major
>             Fix For: 2.9
>
>
> IgniteTxLocalAdapter#userCommit assebles allEntries()/writeEntries() and writes them to WAL:
> {code:java}
>         Collection<IgniteTxEntry> commitEntries = (near() || cctx.snapshot().needTxReadLogging()) ? allEntries() : writeEntries();
> {code}
> If transaction is initiated by server node, all transaction entries will be contained in allEntries()/writeEntries(). Thus, we may write entries to WAL even if local node doesn't own corresponding partition.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)