Aditya Mukhopadhyay created IGNITE-26318:
--------------------------------------------
Summary: Add a mechanism to differentiate between user input
errors and system errors
Key: IGNITE-26318
URL: https://issues.apache.org/jira/browse/IGNITE-26318
Project: Ignite
Issue Type: Improvement
Components: failure handler ai3
Affects Versions: 3.0.0-beta1
Reporter: Aditya Mukhopadhyay
Currently, any error condition raised in the cluster is treated as a system
exception, and handled accordingly. This includes printing stacktraces to logs,
sending error codes to the client, and sometimes resulting in a cluster or node
shutdown.
However, such error handling is not appropriate for erroneous user input (e.g.
user provides an incorrect license, causing cluster init to fail and the node
shuts down). For user input error, we do not need stacktraces or internal error
codes raised and sent back to the client, since it is not a system error.
Therefore, the error handler needs a way to differentiate between user errors
and system errors, so as to be able to handle them differently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)