public class DeadlockDetectionManager extends GridCacheSharedManagerAdapter
Ideas for used detection algorithm are borrowed from Chandy-Misra-Haas deadlock detection algorithm for resource model.
Current implementation assumes that transactions obeys 2PL.
| Modifier and Type | Class and Description |
|---|---|
class |
DeadlockDetectionManager.DelayedDeadlockComputation
Delayed deadlock probe computation which can be cancelled.
|
cctx, diagnosticLog, log| Constructor and Description |
|---|
DeadlockDetectionManager() |
| Modifier and Type | Method and Description |
|---|---|
DeadlockDetectionManager.DelayedDeadlockComputation |
initDelayedComputation(MvccVersion waiterVer,
MvccVersion blockerVer)
Starts a dedlock detection after a delay.
|
protected void |
start0() |
context, isStopping, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, printMemoryStats, start, startInfo, stop, stop0, stopInfo, toStringprotected void start0()
throws IgniteCheckedException
start0 in class GridCacheSharedManagerAdapterIgniteCheckedException - If failed.public DeadlockDetectionManager.DelayedDeadlockComputation initDelayedComputation(MvccVersion waiterVer, MvccVersion blockerVer)
waiterVer - Version of the waiting transaction.blockerVer - Version of the waited for transaction.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021