You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ivan Rakov (JIRA)" <ji...@apache.org> on 2019/02/25 15:32:00 UTC

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

Ivan Rakov created IGNITE-11415:
-----------------------------------

             Summary: Initiator server node writes all transaction entries to WAL instead of local partition ones
                 Key: IGNITE-11415
                 URL: https://issues.apache.org/jira/browse/IGNITE-11415
             Project: Ignite
          Issue Type: Bug
            Reporter: Ivan Rakov
             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)