[jira] [Commented] (CASSANDRASC-65) Enrich error message in RetriesExhaustedException for better visibility

2023-07-20 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRASC-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745288#comment-17745288
 ] 

ASF subversion and git services commented on CASSANDRASC-65:


Commit 5597b7ec3c87d2dae202bb4f4ac583aeff902231 in cassandra-sidecar's branch 
refs/heads/trunk from Yifan Cai
[ https://gitbox.apache.org/repos/asf?p=cassandra-sidecar.git;h=5597b7e ]

CASSANDRASC-65 Enrich RetriesExhaustedException to have more information for 
better visibility

patch by Yifan Cai; reviewed by Dinesh Joshi, Francisco Guerrero for 
CASSANDRASC-65


> Enrich error message in RetriesExhaustedException for better visibility
> ---
>
> Key: CASSANDRASC-65
> URL: https://issues.apache.org/jira/browse/CASSANDRASC-65
> Project: Sidecar for Apache Cassandra
>  Issue Type: Bug
>  Components: Rest API
>Reporter: Yifan Cai
>Assignee: Yifan Cai
>Priority: Normal
>
> The current error message of RetriesExhaustedException only states that a 
> request exhausts the retries and fails. See below. It is not particularly 
> helpful when debugging. 
> I would like to enrich the error message to include the last response and 
> responding server to provide better context on the failed request. 
> {code:java}
> Caused by: java.util.concurrent.CompletionException: 
> org.apache.cassandra.sidecar.client.exception.RetriesExhaustedException: 
> Unable to complete request 'my_request' after 1 attempt
> {code}



--
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] [Commented] (CASSANDRASC-65) Enrich error message in RetriesExhaustedException for better visibility

2023-07-20 Thread Dinesh Joshi (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRASC-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17745262#comment-17745262
 ] 

Dinesh Joshi commented on CASSANDRASC-65:
-

+1, thanks for the patch.

> Enrich error message in RetriesExhaustedException for better visibility
> ---
>
> Key: CASSANDRASC-65
> URL: https://issues.apache.org/jira/browse/CASSANDRASC-65
> Project: Sidecar for Apache Cassandra
>  Issue Type: Bug
>  Components: Rest API
>Reporter: Yifan Cai
>Assignee: Yifan Cai
>Priority: Normal
>
> The current error message of RetriesExhaustedException only states that a 
> request exhausts the retries and fails. See below. It is not particularly 
> helpful when debugging. 
> I would like to enrich the error message to include the last response and 
> responding server to provide better context on the failed request. 
> {code:java}
> Caused by: java.util.concurrent.CompletionException: 
> org.apache.cassandra.sidecar.client.exception.RetriesExhaustedException: 
> Unable to complete request 'my_request' after 1 attempt
> {code}



--
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] [Commented] (CASSANDRASC-65) Enrich error message in RetriesExhaustedException for better visibility

2023-07-14 Thread Francisco Guerrero (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRASC-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17743317#comment-17743317
 ] 

Francisco Guerrero commented on CASSANDRASC-65:
---

+1 (nb), looks good. Thanks for the patch and for addressing the comments.

> Enrich error message in RetriesExhaustedException for better visibility
> ---
>
> Key: CASSANDRASC-65
> URL: https://issues.apache.org/jira/browse/CASSANDRASC-65
> Project: Sidecar for Apache Cassandra
>  Issue Type: Bug
>  Components: Rest API
>Reporter: Yifan Cai
>Assignee: Yifan Cai
>Priority: Normal
>
> The current error message of RetriesExhaustedException only states that a 
> request exhausts the retries and fails. See below. It is not particularly 
> helpful when debugging. 
> I would like to enrich the error message to include the last response and 
> responding server to provide better context on the failed request. 
> {code:java}
> Caused by: java.util.concurrent.CompletionException: 
> org.apache.cassandra.sidecar.client.exception.RetriesExhaustedException: 
> Unable to complete request 'my_request' after 1 attempt
> {code}



--
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