[
https://issues.apache.org/jira/browse/IGNITE-28489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksey Plekhanov resolved IGNITE-28489.
----------------------------------------
Fix Version/s: 2.19
Release Note: Fixed tx map cleanup on tx timout during initialization
Resolution: Fixed
[~mmdavydov] looks good to me. Merged to master. Thanks for the contribution!
> GridNearTxLocal leaks thread state on transaction timeout during
> initialization
> -------------------------------------------------------------------------------
>
> Key: IGNITE-28489
> URL: https://issues.apache.org/jira/browse/IGNITE-28489
> Project: Ignite
> Issue Type: Task
> Reporter: Maksim Davydov
> Assignee: Maksim Davydov
> Priority: Major
> Labels: ise
> Fix For: 2.19
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> A race condition or immediate timeout during transaction initialization can
> cause a _TransactionTimeoutException_. When this happens in
> _initTimeoutHandler_, the transaction is not properly cleared from the
> _threadMap_. Subsequent transaction attempts on the same thread may fail with
> the error: "Thread already has started a transaction."
> +Proposal+: Explicitly call cctx.tm().clearThreadMap(this); inside the
> timeout block in initTimeoutHandler to ensure the thread is cleaned up.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)