Add transaction label to CU.txString() method output - Fixes
@@ -826,7 +826,9 @@ public class GridCacheUtils {
", rollbackOnly=" + tx.isRollbackOnly() +
", nodeId=" + tx.nodeId() +
", timeout=" + tx.timeout() +
- ", duration=" + (U.currentTimeMillis() - tx.startTime()) + ']';
+ ", duration=" + (U.currentTimeMillis() - tx.startTime()) +
+ (tx instanceof GridNearTxLocal ? ", label=" + ((GridNearTxLocal)tx).label() : "") +
+ ']';
}
/**
