You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2024/02/14 21:29:00 UTC
[jira] [Created] (CASSANDRASC-105) RestoreSliceTask could be stuck due to missing exception handling
Yifan Cai created CASSANDRASC-105:
-------------------------------------
Summary: RestoreSliceTask could be stuck due to missing exception handling
Key: CASSANDRASC-105
URL: https://issues.apache.org/jira/browse/CASSANDRASC-105
Project: Sidecar for Apache Cassandra
Issue Type: Bug
Components: Rest API
Reporter: Yifan Cai
In RestoreSliceTask, there are a few places could throw exceptions but missing exception handling in call-sites. As a result, the RetoreSliceTask never fulfill the promise, i.e. the task is stuck.
For example, downloadObjectIfAbsent could throw instead of returning a future, in such case, the task will never fail or complete.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org