[jira] [Updated] (CASSANDRASC-105) RestoreSliceTask could be stuck due to missing exception handling

2024-03-18 Thread Yifan Cai (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRASC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yifan Cai updated CASSANDRASC-105:
--
  Fix Version/s: 1.0
Source Control Link: 
https://github.com/apache/cassandra-sidecar/commit/9b56cdd11a25550f0628e99ba35650c44663eb19
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> 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
>Assignee: Saranya Krishnakumar
>Priority: Normal
>  Labels: pull-request-available
> Fix For: 1.0
>
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRASC-105) RestoreSliceTask could be stuck due to missing exception handling

2024-03-18 Thread Yifan Cai (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRASC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yifan Cai updated CASSANDRASC-105:
--
Reviewers: Francisco Guerrero, Yifan Cai, Yifan Cai  (was: Francisco 
Guerrero, Yifan Cai)
   Status: Review In Progress  (was: Patch Available)

> 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
>Assignee: Saranya Krishnakumar
>Priority: Normal
>  Labels: pull-request-available
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRASC-105) RestoreSliceTask could be stuck due to missing exception handling

2024-03-18 Thread Yifan Cai (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRASC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yifan Cai updated CASSANDRASC-105:
--
Status: Ready to Commit  (was: Review In Progress)

> 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
>Assignee: Saranya Krishnakumar
>Priority: Normal
>  Labels: pull-request-available
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRASC-105) RestoreSliceTask could be stuck due to missing exception handling

2024-03-18 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRASC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CASSANDRASC-105:
---
Labels: pull-request-available  (was: )

> 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
>Assignee: Saranya Krishnakumar
>Priority: Normal
>  Labels: pull-request-available
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRASC-105) RestoreSliceTask could be stuck due to missing exception handling

2024-03-14 Thread Saranya Krishnakumar (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRASC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Saranya Krishnakumar updated CASSANDRASC-105:
-
Authors: Saranya Krishnakumar
Test and Documentation Plan: Unit tests
 Status: Patch Available  (was: Open)

patch: [https://github.com/apache/cassandra-sidecar/pull/107]

> 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
>Assignee: Saranya Krishnakumar
>Priority: Normal
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRASC-105) RestoreSliceTask could be stuck due to missing exception handling

2024-03-14 Thread Saranya Krishnakumar (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRASC-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Saranya Krishnakumar updated CASSANDRASC-105:
-
 Bug Category: Parent values: Correctness(12982)
   Complexity: Normal
Discovered By: User Report
Reviewers: Francisco Guerrero, Yifan Cai
 Severity: Normal
   Status: Open  (was: Triage Needed)

> 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
>Assignee: Saranya Krishnakumar
>Priority: Normal
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org