Maksim Timonin created IGNITE-18811:
---------------------------------------
Summary: Review snapshot exceptions handling for catching
Exception instead of Throwable
Key: IGNITE-18811
URL: https://issues.apache.org/jira/browse/IGNITE-18811
Project: Ignite
Issue Type: Bug
Reporter: Maksim Timonin
Ignite heavily uses asserts, that might produce AssertionError at runtime.
But IgniteSnapshotManager in some places catches Exception, and there is a
failover logic in the catch block. Such places should be reviewed, covered with
tests and/or fixed.
Also ClusterSnapshotFuture accepts Exception as param instead of Throwable. It
might lead to ClassCastException.
Wrong exception handling might lead to resources leaks, snapshot process
hanging, etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)