You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Goncharuk (JIRA)" <ji...@apache.org> on 2016/02/25 03:47:18 UTC
[jira] [Closed] (IGNITE-2707) SkipStore flag is not overridden for
a transaction entry
[ https://issues.apache.org/jira/browse/IGNITE-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Goncharuk closed IGNITE-2707.
------------------------------------
> 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
> Assignee: Alexey Goncharuk
> Labels: important
> Fix For: 1.6
>
> Attachments: Ignite_2707_Test_and_patch.patch
>
>
> 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)