Vladimir Ozerov created IGNITE-19:
-------------------------------------

             Summary: Race condition when offheaped value is being promoted to 
swap.
                 Key: IGNITE-19
                 URL: https://issues.apache.org/jira/browse/IGNITE-19
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: sprint-1
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov
            Priority: Critical
             Fix For: sprint-2


Eviction from offheap to swap is done using listener on GridUnsafeMap. 
Notification of this listener happens when value is already deleted from 
offheap and lock is released (GridUnsafeMap line 860). So "get" operation on 
cache can miss the value while it is in between.

Need to:
1) Review this code piece;
2) Create a test reproducing the issue;
3) Fix it.



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

Reply via email to