ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2707) SkipStore flag is not overridden for a transaction entry
Date Mon, 22 Feb 2016 23:35:18 GMT
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)

Mime
View raw message