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

Dmitriy Pavlov commented on IGNITE-614:
---------------------------------------

[~agoncharuk] [~sboikov], should we delete test code 
org.apache.ignite.internal.processors.cache.GridCacheSwapPreloadSelfTest#checkSwapMultithreaded()
 ?

> Race in preloading/unswapping
> -----------------------------
>
>                 Key: IGNITE-614
>                 URL: https://issues.apache.org/jira/browse/IGNITE-614
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Semen Boikov
>            Priority: Major
>              Labels: Muted_test
>             Fix For: 2.0
>
>
> During unswap entry is removed from swap then unswap listener is notified, 
> and this logic in preload supply worker:
> - register unswap listener
> - iterater over heap
> - iterate over swap
> - remove unswap listener
> - iterate over entries recorded by unswap listener
> There is a race: entry is removed from unswap, listener is not notified yet, 
> at this moment supply worker removes unswap listener.
> These tests fail from time to time because entry can be missed during 
> preloading:
> GridCacheSwapPreloadSelfTest.testSwapPartitionedMultithreaded
> GridCacheSwapPreloadSelfTest.testSwapReplicatedMultithreaded



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to