ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Muzafarov (Jira)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-11415) Initiator server node writes all transaction entries to WAL instead of only local partition entries
Date Thu, 10 Oct 2019 11:30:00 GMT

     [ 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:     (was: 2.8)

> 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
>
> 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)

Mime
View raw message