cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fuud (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-13456) Needs better logging for timeout/failures
Date Tue, 18 Apr 2017 11:34:41 GMT
Fuud created CASSANDRA-13456:

             Summary: Needs better logging for timeout/failures
                 Key: CASSANDRA-13456
             Project: Cassandra
          Issue Type: Bug
            Reporter: Fuud

When read was failed due to timeout, Cassandra reports in logs "Timeout; reveived 1 of 3 responses".
Same information is passed to clients.

But this information is not enoght to get list of slow nodes. 

Better to have detailed message in debug log:
"Timeout; reveived 1 of 4 responses. Requested but not responded node: [<ip1>, <ip2>],
Failed nodes: [<ip3>]"

I implemented such behavior by patching ReadCallback, AbstractWriteResponseHandler, DatacenterSyncWriteResponseHandler
and WriteResponseHandler. It handles all cases except Paxos. 

But I want to implement solid solution that handle all cases in same way.

But before I will start I want to know: are there any objections against such logging?

This message was sent by Atlassian JIRA

View raw message