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/06/24 23:36:16 UTC

[jira] [Closed] (IGNITE-3339) get() in explicit READ_COMMITTED transaction on OFFHEAP_TIERED cache copies data from offheap to onheap.

     [ https://issues.apache.org/jira/browse/IGNITE-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Goncharuk closed IGNITE-3339.
------------------------------------

> get() in explicit READ_COMMITTED transaction on OFFHEAP_TIERED cache copies data from offheap to onheap.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-3339
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3339
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.6
>            Reporter: Dmitry Karachentsev
>             Fix For: 1.7
>
>
> On OFFHEAP_TIERED TRANSACTIONAL cache:
> 1. Put entry.
> 2. Cache size equals 1 and iterator returns one entry.
> 3. Open PESSIMISTIC READ_COMMITED transaction.
> 4. get() that value.
> 5. Commit transaction.
> 6. Cache size now equals 2 and iterator returns two identical entries.
> By fast investigation was found that after put() operation value goes to offheap. After get() operation in explicit transaction the same value appears in onheap and offheap iterators. As a result user sees two the same entries.
> Pull request with test that reproduces the bug:
> https://github.com/apache/ignite/pull/817



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