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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)