ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3339) get() in explicit READ_COMMITTED transaction on OFFHEAP_TIERED cache copies data from offheap to onheap.
Date Fri, 24 Jun 2016 23:35:16 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348883#comment-15348883
] 

ASF GitHub Bot commented on IGNITE-3339:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/ignite/pull/817


> 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)

Mime
View raw message