[ 
https://issues.apache.org/jira/browse/CASSANDRA-4414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413620#comment-13413620
 ] 

Sylvain Lebresne commented on CASSANDRA-4414:
---------------------------------------------

The patch doesn't compile due to missing TimeoutException -> TimedOutException 
renaming in HintedHandoffManager.

Otherwise the patch lgtm.

nit: Maybe in WriteResponseHandler, we could keep the blockFor value as a field 
instead of the table, which would avoid having to care about null checks

                
> Ship the exact cause for timeout and unavailable exception back to the client 
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4414
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4414
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Jonathan Ellis
>             Fix For: 1.2
>
>
> Currently when a client gets a timeout exception, it doesn't know what 
> happened. But sever side we usually know a little more than that. For 
> example, for 99% of the timeouts at CL > ONE, we will have some replica that 
> have acknowlege. I think it could be useful to send that information to the 
> client with the exception. That could help with monitoring, "post-mortem" 
> analysis and debugging.
> Unavailable exceptions could also ship which nodes were alive and which ones 
> where not.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to