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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)