[
https://issues.apache.org/jira/browse/IGNITE-26692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-26692:
---------------------------------------
Description:
In many places in the code, when we catch an unexpected exception, we trigger
FailureManager, which might stop/crash the node.
Some exceptions are known to routinely happen, they don't signal any invariant
violation. UnresolableConsistentIdException and RecipientLeftException are
examples of such exceptions. We should not trigger FailureManager when we catch
these exceptions.
It is suggested to introduce a marker interface called MundaneException. All
exceptions that can happen during normal node life (like
UnresolableConsistentIdException and RecipientLeftException) would implement
this interface. FailureManager would simply ignore an exception if it or any of
exceptions in its cause chain implement the interface.
> Do not fail node on expected exceptions
> ---------------------------------------
>
> Key: IGNITE-26692
> URL: https://issues.apache.org/jira/browse/IGNITE-26692
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
>
> In many places in the code, when we catch an unexpected exception, we trigger
> FailureManager, which might stop/crash the node.
> Some exceptions are known to routinely happen, they don't signal any
> invariant violation. UnresolableConsistentIdException and
> RecipientLeftException are examples of such exceptions. We should not trigger
> FailureManager when we catch these exceptions.
> It is suggested to introduce a marker interface called MundaneException. All
> exceptions that can happen during normal node life (like
> UnresolableConsistentIdException and RecipientLeftException) would implement
> this interface. FailureManager would simply ignore an exception if it or any
> of exceptions in its cause chain implement the interface.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)