You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Roman Kondakov (JIRA)" <ji...@apache.org> on 2018/11/01 13:12:00 UTC

[jira] [Created] (IGNITE-10114) Potential deadlock in GridDhtPartitionTopologyImpl

Roman Kondakov created IGNITE-10114:
---------------------------------------

             Summary: Potential deadlock in GridDhtPartitionTopologyImpl
                 Key: IGNITE-10114
                 URL: https://issues.apache.org/jira/browse/IGNITE-10114
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Roman Kondakov


There are several methods in {{GridDhtPartitionTopologyImpl}} where correct checkpoint and topology readlock order is violated: topology lock is obtained first, and after this an initialization of {{CacheDataStore}} could be called under the checkpoint lock.
Affected methods:
* {{GridDhtPartitionTopologyImpl#localUpdateCounters}}
* {{GridDhtPartitionTopologyImpl#partitionSizes}}
* {{GridDhtPartitionTopologyImpl#printMemoryStats}}



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