You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2024/08/26 15:50:00 UTC

[jira] [Created] (IGNITE-23075) Call failure processor during a timeout worker crash

Vladislav Pyatkov created IGNITE-23075:
------------------------------------------

             Summary: Call failure processor during a timeout worker crash
                 Key: IGNITE-23075
                 URL: https://issues.apache.org/jira/browse/IGNITE-23075
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov


h3. Motivation
For the majority of the cluester transaction operation, we use a Timout worker. It is a single thread that completes futures with a timeout exception. But if the thread stops (due to an unhandled exception) no more operations can time out.

h3.
The falure processor has to be called on the catch block of the timeout worker.

{code:java}
} catch (Throwable t) {
  failureProcessor.process(new FailureContext(SYSTEM_WORKER_TERMINATION, t));

  throw new IgniteInternalException(t);
}
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)