WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ignite.internal.util.GridUnsafe$2 (file:/home/prom1se/GG/work/var/suite-examples/art-gg-com/libs/ignite-core-8.7.34.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of org.apache.ignite.internal.util.GridUnsafe$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[19:30:49]    __________  ________________ 
[19:30:49]   /  _/ ___/ |/ /  _/_  __/ __/ 
[19:30:49]  _/ // (7 7    // /  / / / _/   
[19:30:49] /___/\___/_/|_/___/ /_/ /___/  
[19:30:49] 
[19:30:49] ver. 8.7.34#20210216-sha1:60a6e1ea
[19:30:49] 2021 Copyright(C) GridGain Systems, Inc. and Contributors
[19:30:49] 
[19:30:49] Ignite documentation: http://gridgain.com
[19:30:49] 
[19:30:49] Quiet mode.
[19:30:49]   ^-- Logging by 'PlatformLogger [traceEnabled=false, debugEnabled=false, infoEnabled=false, isQuiet=true]'
[19:30:49]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[19:30:49] 
[19:30:49] OS: Linux 5.8.0-44-generic amd64
[19:30:49] VM information: OpenJDK Runtime Environment 11.0.10+9-Ubuntu-0ubuntu1.20.04 Ubuntu OpenJDK 64-Bit Server VM 11.0.10+9-Ubuntu-0ubuntu1.20.04
[19:30:49] Please set system property '-Djava.net.preferIPv4Stack=true' to avoid possible problems in mixed environments.
[19:30:49] Configured plugins:
[19:30:49]   ^-- None
[19:30:49] 
[19:30:49] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]]]
[19:30:49] Message queue limit is set to 0 which may lead to potential OOMEs when running cache operations in FULL_ASYNC or PRIMARY_SYNC modes due to message queues growth on sender and receiver sides.
[19:30:49] Security status [authentication=off, tls/ssl=off]
[19:30:51] Data Regions Started: 4
[19:30:51]     ^--   sysMemPlc region [type=internal, persistence=false, lazyAlloc=false,
[19:30:51]       ...  initCfg=40MB, maxCfg=100MB, usedRam=0MB, freeRam=100%, allocRam=40MB]
[19:30:51]     ^--   default region [type=default, persistence=false, lazyAlloc=true,
[19:30:51]       ...  initCfg=256MB, maxCfg=6354MB, usedRam=0MB, freeRam=100%, allocRam=0MB]
[19:30:51]     ^--   TxLog region [type=internal, persistence=false, lazyAlloc=false,
[19:30:51]       ...  initCfg=40MB, maxCfg=100MB, usedRam=0MB, freeRam=100%, allocRam=40MB]
[19:30:51]     ^--   volatileDsMemPlc region [type=internal, persistence=false, lazyAlloc=true,
[19:30:51]       ...  initCfg=40MB, maxCfg=100MB, usedRam=0MB, freeRam=100%, allocRam=0MB]
[19:30:51] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[19:30:51] 
[19:30:51] Ignite node started OK (id=f9df2d5d)
[19:30:51] Topology snapshot [ver=1, locNode=f9df2d5d, servers=1, clients=0, state=ACTIVE, CPUs=8, offheap=6.2GB, heap=7.8GB]
[19:30:51]   ^-- Baseline [id=0, size=1, online=1, offline=0]

>>> Transaction deadlock detection example started.

>>> Transaction deadlock in thread 2: 
Deadlock detected:

K1: TX1 holds lock, TX2 waits lock.
K2: TX2 holds lock, TX1 waits lock.

Transactions:

TX1 [txId=GridCacheVersion [topVer=225837052, order=1614357049559, nodeOrder=1], nodeId=f9df2d5d-1f47-4980-ae27-7684f761048f, threadId=80]
TX2 [txId=GridCacheVersion [topVer=225837052, order=1614357049558, nodeOrder=1], nodeId=f9df2d5d-1f47-4980-ae27-7684f761048f, threadId=81]

Keys:

K1 [key=1342561432, cache=dotnet_cache_tx_deadlock]
K2 [key=-1726603896, cache=dotnet_cache_tx_deadlock]


>>> Update failed in thread 1: Apache.Ignite.Core.Transactions.TransactionTimeoutException: Failed to acquire lock within provided timeout for transaction [timeout=2000, tx=GridNearTxLocal[xid=7d0bd2fd771-00000000-0d75-fffc-0000-000000000001, xidVersion=GridCacheVersion [topVer=225837052, order=1614357049559, nodeOrder=1], nearXidVersion=GridCacheVersion [topVer=225837052, order=1614357049559, nodeOrder=1], concurrency=PESSIMISTIC, isolation=READ_COMMITTED, state=MARKED_ROLLBACK, topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], invalidate=false, rollbackOnly=true, nodeId=f9df2d5d-1f47-4980-ae27-7684f761048f, timeout=2000, startTime=1614357051532, duration=2045, label=null]] ---> Apache.Ignite.Core.Common.JavaException: class org.apache.ignite.transactions.TransactionTimeoutException: Failed to acquire lock within provided timeout for transaction [timeout=2000, tx=GridNearTxLocal[xid=7d0bd2fd771-00000000-0d75-fffc-0000-000000000001, xidVersion=GridCacheVersion [topVer=225837052, order=1614357049559, nodeOrder=1], nearXidVersion=GridCacheVersion [topVer=225837052, order=1614357049559, nodeOrder=1], concurrency=PESSIMISTIC, isolation=READ_COMMITTED, state=MARKED_ROLLBACK, topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], invalidate=false, rollbackOnly=true, nodeId=f9df2d5d-1f47-4980-ae27-7684f761048f, timeout=2000, startTime=1614357051532, duration=2045, label=null]]
	at org.apache.ignite.internal.util.IgniteUtils$13.apply(IgniteUtils.java:986)
	at org.apache.ignite.internal.util.IgniteUtils$13.apply(IgniteUtils.java:981)
	at org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1265)
	at org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.cacheException(IgniteCacheProxyImpl.java:2077)
	at org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.put(IgniteCacheProxyImpl.java:1313)
	at org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.put(GatewayProtectedCacheProxy.java:817)
	at org.apache.ignite.internal.processors.platform.cache.PlatformCache.processInStreamOutLong(PlatformCache.java:839)
	at org.apache.ignite.internal.processors.platform.PlatformTargetProxyImpl.inStreamOutLong(PlatformTargetProxyImpl.java:66)
Caused by: class org.apache.ignite.internal.transactions.IgniteTxTimeoutCheckedException: Failed to acquire lock within provided timeout for transaction [timeout=2000, tx=GridNearTxLocal[xid=7d0bd2fd771-00000000-0d75-fffc-0000-000000000001, xidVersion=GridCacheVersion [topVer=225837052, order=1614357049559, nodeOrder=1], nearXidVersion=GridCacheVersion [topVer=225837052, order=1614357049559, nodeOrder=1], concurrency=PESSIMISTIC, isolation=READ_COMMITTED, state=MARKED_ROLLBACK, topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], invalidate=false, rollbackOnly=true, nodeId=f9df2d5d-1f47-4980-ae27-7684f761048f, timeout=2000, startTime=1614357051532, duration=2045, label=null]]
	at org.apache.ignite.internal.processors.cache.distributed.dht.colocated.GridDhtColocatedLockFuture$LockTimeoutObject$1.apply(GridDhtColocatedLockFuture.java:1536)
	at org.apache.ignite.internal.processors.cache.distributed.dht.colocated.GridDhtColocatedLockFuture$LockTimeoutObject$1.apply(GridDhtColocatedLockFuture.java:1529)
	at org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:407)
	at org.apache.ignite.internal.util.future.GridFutureAdapter.listen(GridFutureAdapter.java:362)
	at org.apache.ignite.internal.processors.cache.distributed.dht.colocated.GridDhtColocatedLockFuture$LockTimeoutObject.onTimeout(GridDhtColocatedLockFuture.java:1529)
	at org.apache.ignite.internal.processors.timeout.GridTimeoutProcessor$TimeoutWorker.body(GridTimeoutProcessor.java:278)
	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119)
	at java.base/java.lang.Thread.run(Thread.java:834)

   --- End of inner exception stack trace ---
   at Apache.Ignite.Core.Impl.PlatformJniTarget.InStreamOutLong[TR](Int32 type, Func`2 outAction, Func`3 inAction, Func`2 readErrorAction)
   at Apache.Ignite.Core.Impl.Cache.CacheImpl`2.Put(TK key, TV val)
   at Apache.Ignite.Examples.Thick.Cache.TransactionDeadlockDetection.Program.UpdateKeys(ICache`2 cache, IEnumerable`1 keys, Int32 threadId) in /home/prom1se/GG/work/var/suite-examples/art-gg-com/platforms/dotnet/examples/Thick/Cache/TransactionDeadlockDetection/Program.cs:line 80

>>> Example finished, press any key to exit ...
