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

2016-06-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


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

2016-06-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-3339:


GitHub user dkarachentsev opened a pull request:

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

IGNITE-3339 - get() in explicit READ_COMMITTED transaction on OFFHEAP…

…_TIERED cache copies data from offheap to onheap.

Test.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-3339

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #817


commit 4a620790f4c5c2e2f6dcb93fdc9bca9f7faf1f90
Author: dkarachentsev 
Date:   2016-06-20T10:33:50Z

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

Test.




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




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