Maksim Davydov created IGNITE-28489:
---------------------------------------

             Summary: 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


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)

Reply via email to