]
Mircea Markus updated ISPN-1545:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Remove log verbosity during cache shutdown
------------------------------------------
Key: ISPN-1545
URL:
https://issues.jboss.org/browse/ISPN-1545
Project: Infinispan
Issue Type: Feature Request
Affects Versions: 5.1.0.BETA5
Reporter: Mircea Markus
Assignee: Mircea Markus
Labels: logging
Fix For: 5.1.0.CR3
When cache shuts down the transaction table recalculates its minViewId value based on the
new topology. When the whole cluster shuts down though, the thread that recalculates might
throw an exception (expected) because it's internal components (RPC in this example)
are not responding anymore. This causes a lot of log noise in the logs, which should be
removed:
2011-11-16 17:08:29,045 WARN [jta] (Transaction Reaper Worker 0) ARJUNA16045: attempted
rollback of < formatId=131076, gtrid_length=29, bqual_length=28,
tx_uid=0:ffffac11fa3e:c0a2:4ec3df75:a055, node_name=1,
branch_uid=0:ffffac11fa3e:c0a2:4ec3df75:a056, eis_name=unknown eis name >
(TransactionXaAdapter{localTransaction=LocalXaTransaction{xid=< formatId=131076,
gtrid_length=29, bqual_length=28, tx_uid=0:ffffac11fa3e:c0a2:4ec3df75:a055, node_name=1,
branch_uid=0:ffffac11fa3e:c0a2:4ec3df75:a056, eis_name=unknown eis name >}
LocalTransaction{remoteLockedNodes=[9124b480-6ae0-5267-d9f8-3d66ea7ec581,
86c0fc2d-a0da-adb4-5343-940d6bdb1aa0], isMarkedForRollback=true,
transaction=TransactionImple < ac, BasicAction: 0:ffffac11fa3e:c0a2:4ec3df75:a055
status: ActionStatus.ABORTING >, lockedKeys=null, backupKeyLocks=null, viewId=1}
org.infinispan.transaction.xa.LocalXaTransaction@2947}) failed with exception code -
org.infinispan.CacheException: The cache has been stopped and invocations are not
allowed!
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.getViewId(JGroupsTransport.java:197)
at
org.infinispan.transaction.TransactionTable.getCurrentViewId(TransactionTable.java:372)
at
org.infinispan.transaction.TransactionTable.recalculateMinViewIdIfNeeded(TransactionTable.java:387)
at
org.infinispan.transaction.TransactionTable.removeLocalTransactionInternal(TransactionTable.java:318)
at
org.infinispan.transaction.TransactionTable.removeLocalTransaction(TransactionTable.java:306)
at
org.infinispan.transaction.xa.XaTransactionTable.removeLocalTransaction(XaTransactionTable.java:61)
at
org.infinispan.transaction.TransactionTable.failureCompletingTransaction(TransactionTable.java:188)
at
org.infinispan.transaction.TransactionCoordinator.rollback(TransactionCoordinator.java:145)
at
org.infinispan.transaction.xa.TransactionXaAdapter.rollback(TransactionXaAdapter.java:136)
at
com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelAbort(XAResourceRecord.java:337)
at com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:2869)
at com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:2848)
at com.arjuna.ats.arjuna.coordinator.BasicAction.Abort(BasicAction.java:1613)
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:119)
at com.arjuna.ats.arjuna.AtomicAction.cancel(AtomicAction.java:212)
at
com.arjuna.ats.arjuna.coordinator.TransactionReaper.doCancellations(TransactionReaper.java:367)
at
com.arjuna.ats.internal.arjuna.coordinator.ReaperWorkerThread.run(ReaperWorkerThread.java:79)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: