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

Ivan Rakov updated IGNITE-11415:
--------------------------------
    Summary: Initiator server node writes all transaction entries to WAL 
instead of only local partition entries  (was: Initiator server node writes all 
transaction entries to WAL instead of local partition ones)

> 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.8
>
>
> 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
(v7.6.3#76005)

Reply via email to