[
https://issues.apache.org/jira/browse/IGNITE-12516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021967#comment-17021967
]
Denis Chudov commented on IGNITE-12516:
---------------------------------------
[~ivan.glukos] could you please review my code?
> Dump active transaction from near node does not work if transaction not
> follow first
> ------------------------------------------------------------------------------------
>
> Key: IGNITE-12516
> URL: https://issues.apache.org/jira/browse/IGNITE-12516
> Project: Ignite
> Issue Type: Bug
> Reporter: Denis Chudov
> Assignee: Denis Chudov
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> For this code:
> {code:java}
> for (IgniteInternalTx tx : tm.activeTransactions()) {
> if (curTime - tx.startTime() > timeout) {
> found = true;
> if (warnings.canAddMessage()) {
> warnings.add(longRunningTransactionWarning(tx, curTime));
> if (ltrDumpLimiter.allowAction(tx))
> dumpLongRunningTransaction(tx);
> }
> else
> warnings.incTotal();
> }
> }
> {code}
> you can see, if transaction is not ACTIVE dumping closure will skipped.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)