[jira] [Created] (IGNITE-2707) SkipStore flag is not overridden for a transaction entry

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

[jira] [Created] (IGNITE-2707) SkipStore flag is not overridden for a transaction entry

Anton Vinogradov (Jira)
Alexey Goncharuk created IGNITE-2707:
----------------------------------------

             Summary: SkipStore flag is not overridden for a transaction entry
                 Key: IGNITE-2707
                 URL: https://issues.apache.org/jira/browse/IGNITE-2707
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: ignite-1.4
            Reporter: Alexey Goncharuk
             Fix For: 1.6


Consider the following code snippet:
{code}
try (Transaction tx = ignite.transactions().txStart()) {
    cache.withSkipStore().get(key);

    cache.put(key, value);

    tx.commit();
}
{code}

Transaction commit will not trigger store write because {{skipStore}} flag is set to {{true}} for the transaction entry and is not overridden on put() operation (see IgniteTxLocalAdapter:3780).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)