You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2018/04/23 13:32:00 UTC

[jira] [Comment Edited] (IGNITE-8295) Possible deadlock on partition eviction.

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

Andrew Mashenkov edited comment on IGNITE-8295 at 4/23/18 1:31 PM:
-------------------------------------------------------------------

[~agoncharuk], 
 link to TC has been added to the ticket.


was (Author: amashenkov):
[~agoncharuk], 
link to TC added to the ticket.

> Possible deadlock on partition eviction.
> ----------------------------------------
>
>                 Key: IGNITE-8295
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8295
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Andrew Mashenkov
>            Assignee: Andrew Mashenkov
>            Priority: Major
>             Fix For: 2.6
>
>         Attachments: deadlock.stack
>
>
> GridCacheOffheapManager.recreateCacheDataStore() calls updatePartitionCounter() under partStoreLock which may try to acquire checkpointReadLock.
> recreateCacheDataStore() method can be called with checkpointReadLock (on GridDhtPartitionsExchangeFuture.updatePartitionFullMap) 
> or without checkpointReadLock (GridDhtPartitionEvictor thread calls evictPartitionAsync),
> So, checkpoint can cause a deadlock if it happens in between.
> Seems, we should acquire checkpointReadLock before partStoreLock. 
>   



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