You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Alexey Goncharuk (JIRA)" <ji...@apache.org> on 2016/02/23 00:35:18 UTC

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

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)