ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-503) IgniteTxHeuristicCheckedException: Failed to locally write to cache
Date Wed, 18 Mar 2015 12:50:38 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Kuznetsov updated IGNITE-503:
------------------------------------
    Description:     (was: In branch ignite-45 start VisorTesterLauncher.
Node started and failed with exception when trying to execute task.
Stacktrace:
{code}
class org.apache.ignite.internal.transactions.IgniteTxHeuristicCheckedException: Failed to
locally write to cache (all transaction entries will be invalidated, however there was a window
when entries for this transaction were visible to others): GridNearTxLocal [prepFut=GridNearTxPrepareFuture
[futId=0bbb00d2c41-c6bb64ed-7ff1-4df7-82b4-7731d06f77a1, trackable=true, txMapping=org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxMapping@58d3aef4,
super=GridCompoundIdentityFuture [super=GridCompoundFuture [lsnrCalls=1, finished=true, rdc=org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxPrepareFuture$1@6bfe0c45,
init=true, res=java.util.concurrent.atomic.AtomicMarkableReference@73d7bd66, err=null, done=true,
cancelled=false, err=null, futs=[true]]]], commitFut=GridNearTxFinishFuture [futId=4bbb00d2c41-c6bb64ed-7ff1-4df7-82b4-7731d06f77a1,
commit=true, err=null, trackable=true, super=GridCompoundIdentityFuture [super=GridCompoundFuture
[lsnrCalls=0, finished=false, rdc=org.apache.ignite.internal.util.lang.GridFunc$54@318342bb,
init=false, res=java.util.concurrent.atomic.AtomicMarkableReference@20921c62, err=null, done=false,
cancelled=false, err=null, futs=[]]]], rollbackFut=null, nearLocallyMapped=false, colocatedLocallyMapped=true,
mappings=[d95d6358-50d9-472a-8e75-233f5df5597b], super=GridDhtTxLocalAdapter [mapped=true,
dhtThreadId=202, needsCompletedVers=false, nearNodes=[], dhtNodes=[], super=IgniteTxLocalAdapter
[completedBase=null, partLock=false, sndTransformedVals=false, super=IgniteTxAdapter [xidVer=GridCacheVersion
[topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168, order=1426684751132],
writeVer=GridCacheVersion [topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168,
order=1426684751133], implicit=true, implicitSingle=true, loc=true, threadId=202, startTime=1426681820162,
nodeId=d95d6358-50d9-472a-8e75-233f5df5597b, startVer=GridCacheVersion [topVer=38161513, nodeOrderDrId=134217729,
globalTime=1426681820168, order=1426684751132], endVer=null, isolation=READ_COMMITTED, concurrency=OPTIMISTIC,
timeout=0, sysInvalidate=false, sys=true, plc=UTILITY_CACHE_POOL, commitVer=GridCacheVersion
[topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168, order=1426684751132],
finalizing=NONE, preparing=false, state=COMMITTING, timedOut=false, topVer=AffinityTopologyVersion
[topVer=1, minorTopVer=0], duration=0ms, grpLock=false, onePhaseCommit=true], size=1]]]
	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter.userCommit(IgniteTxLocalAdapter.java:956)
	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.finish(GridNearTxLocal.java:633)
	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal$3.apply(GridNearTxLocal.java:761)
	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal$3.apply(GridNearTxLocal.java:753)
	at org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:227)
	at org.apache.ignite.internal.util.future.GridFutureAdapter.listen(GridFutureAdapter.java:190)
	at org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal.commitAsync(GridNearTxLocal.java:753)
	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter.putAllAsync0(IgniteTxLocalAdapter.java:2681)
	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter.putAllAsync(IgniteTxLocalAdapter.java:1884)
	at org.apache.ignite.internal.processors.cache.GridCacheAdapter$36.op(GridCacheAdapter.java:2728)
	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.syncOp(GridCacheAdapter.java:4500)
	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.putIfAbsent(GridCacheAdapter.java:2726)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor.saveTaskMetadata(GridTaskProcessor.java:690)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor.startTask(GridTaskProcessor.java:550)
	at org.apache.ignite.internal.processors.task.GridTaskProcessor.execute(GridTaskProcessor.java:294)
	at org.apache.ignite.internal.IgniteComputeImpl.execute(IgniteComputeImpl.java:151)
	at org.gridgain.visor.tester.VisorTesterLauncher$$anon$1.run(VisorTesterLauncher.scala:745)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AssertionError
	at org.gridgain.grid.internal.processors.cache.dr.ent.GridEntCacheDrManager$1.onUpdated(GridEntCacheDrManager.java:261)
	at org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryHandler$1.onEntryUpdated(CacheContinuousQueryHandler.java:212)
	at org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager.onEntryUpdated(CacheContinuousQueryManager.java:188)
	at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerSet(GridCacheMapEntry.java:1076)
	at org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter.userCommit(IgniteTxLocalAdapter.java:816)
	... 23 more
[19:30:20,174][WARN ][visor-tester-last-error-task-0][GridNearTxLocal] Set transaction invalidation
flag to true due to error [tx=GridNearTxLocal [prepFut=GridNearTxPrepareFuture [futId=0bbb00d2c41-c6bb64ed-7ff1-4df7-82b4-7731d06f77a1,
trackable=true, txMapping=o.a.i.i.processors.cache.distributed.dht.GridDhtTxMapping@58d3aef4,
super=GridCompoundIdentityFuture [super=GridCompoundFuture [lsnrCalls=1, finished=true, rdc=o.a.i.i.processors.cache.distributed.near.GridNearTxPrepareFuture$1@6bfe0c45,
init=true, res=java.util.concurrent.atomic.AtomicMarkableReference@73d7bd66, err=null, done=true,
cancelled=false, err=null, futs=[true]]]], commitFut=GridNearTxFinishFuture [futId=4bbb00d2c41-c6bb64ed-7ff1-4df7-82b4-7731d06f77a1,
commit=true, err=null, trackable=true, super=GridCompoundIdentityFuture [super=GridCompoundFuture
[lsnrCalls=0, finished=false, rdc=o.a.i.i.util.lang.GridFunc$54@318342bb, init=false, res=java.util.concurrent.atomic.AtomicMarkableReference@20921c62,
err=null, done=false, cancelled=false, err=null, futs=[]]]], rollbackFut=null, nearLocallyMapped=false,
colocatedLocallyMapped=true, mappings=[d95d6358-50d9-472a-8e75-233f5df5597b], super=GridDhtTxLocalAdapter
[mapped=true, dhtThreadId=202, needsCompletedVers=false, nearNodes=[], dhtNodes=[], super=IgniteTxLocalAdapter
[completedBase=null, partLock=false, sndTransformedVals=false, super=IgniteTxAdapter [xidVer=GridCacheVersion
[topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168, order=1426684751132],
writeVer=GridCacheVersion [topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168,
order=1426684751133], implicit=true, implicitSingle=true, loc=true, threadId=202, startTime=1426681820162,
nodeId=d95d6358-50d9-472a-8e75-233f5df5597b, startVer=GridCacheVersion [topVer=38161513, nodeOrderDrId=134217729,
globalTime=1426681820168, order=1426684751132], endVer=null, isolation=READ_COMMITTED, concurrency=OPTIMISTIC,
timeout=0, sysInvalidate=true, sys=true, plc=UTILITY_CACHE_POOL, commitVer=GridCacheVersion
[topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168, order=1426684751132],
finalizing=NONE, preparing=false, state=UNKNOWN, timedOut=false, topVer=AffinityTopologyVersion
[topVer=1, minorTopVer=0], duration=10ms, grpLock=false, onePhaseCommit=true], size=1]]],
err=class o.a.i.i.transactions.IgniteTxHeuristicCheckedException: Failed to locally write
to cache (all transaction entries will be invalidated, however there was a window when entries
for this transaction were visible to others): GridNearTxLocal [prepFut=GridNearTxPrepareFuture
[futId=0bbb00d2c41-c6bb64ed-7ff1-4df7-82b4-7731d06f77a1, trackable=true, txMapping=o.a.i.i.processors.cache.distributed.dht.GridDhtTxMapping@58d3aef4,
super=GridCompoundIdentityFuture [super=GridCompoundFuture [lsnrCalls=1, finished=true, rdc=o.a.i.i.processors.cache.distributed.near.GridNearTxPrepareFuture$1@6bfe0c45,
init=true, res=java.util.concurrent.atomic.AtomicMarkableReference@73d7bd66, err=null, done=true,
cancelled=false, err=null, futs=[true]]]], commitFut=GridNearTxFinishFuture [futId=4bbb00d2c41-c6bb64ed-7ff1-4df7-82b4-7731d06f77a1,
commit=true, err=null, trackable=true, super=GridCompoundIdentityFuture [super=GridCompoundFuture
[lsnrCalls=0, finished=false, rdc=o.a.i.i.util.lang.GridFunc$54@318342bb, init=false, res=java.util.concurrent.atomic.AtomicMarkableReference@20921c62,
err=null, done=false, cancelled=false, err=null, futs=[]]]], rollbackFut=null, nearLocallyMapped=false,
colocatedLocallyMapped=true, mappings=[d95d6358-50d9-472a-8e75-233f5df5597b], super=GridDhtTxLocalAdapter
[mapped=true, dhtThreadId=202, needsCompletedVers=false, nearNodes=[], dhtNodes=[], super=IgniteTxLocalAdapter
[completedBase=null, partLock=false, sndTransformedVals=false, super=IgniteTxAdapter [xidVer=GridCacheVersion
[topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168, order=1426684751132],
writeVer=GridCacheVersion [topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168,
order=1426684751133], implicit=true, implicitSingle=true, loc=true, threadId=202, startTime=1426681820162,
nodeId=d95d6358-50d9-472a-8e75-233f5df5597b, startVer=GridCacheVersion [topVer=38161513, nodeOrderDrId=134217729,
globalTime=1426681820168, order=1426684751132], endVer=null, isolation=READ_COMMITTED, concurrency=OPTIMISTIC,
timeout=0, sysInvalidate=false, sys=true, plc=UTILITY_CACHE_POOL, commitVer=GridCacheVersion
[topVer=38161513, nodeOrderDrId=134217729, globalTime=1426681820168, order=1426684751132],
finalizing=NONE, preparing=false, state=COMMITTING, timedOut=false, topVer=AffinityTopologyVersion
[topVer=1, minorTopVer=0], duration=0ms, grpLock=false, onePhaseCommit=true], size=1]]]]
[19:30:20,175][ERROR][visor-tester-last-error-task-0][IgniteKernal%visor-tester-DC1] !!! Failed
to execute VisorTesterSuppressedErrorsTask !!!{code})

> IgniteTxHeuristicCheckedException: Failed to locally write to cache
> -------------------------------------------------------------------
>
>                 Key: IGNITE-503
>                 URL: https://issues.apache.org/jira/browse/IGNITE-503
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-2
>            Reporter: Alexey Kuznetsov
>            Assignee: Alexey Goncharuk
>             Fix For: sprint-2
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message