cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-911) QuorumResponseHandler sets timeout incorrectly
Date Mon, 22 Mar 2010 19:18:27 GMT

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

Jonathan Ellis commented on CASSANDRA-911:
------------------------------------------

+1, can you apply to WRH and AsyncResult too?

> QuorumResponseHandler sets timeout incorrectly
> ----------------------------------------------
>
>                 Key: CASSANDRA-911
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-911
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Chris Goffinet
>            Assignee: Chris Goffinet
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: 0001-CASSANDRA-911-fixed-incorrect-timeout-calculation.patch
>
>
> We noticed that the timeout calculation seems wrong:
> long timeout = System.currentTimeMillis() - startTime + DatabaseDescriptor.getRpcTimeout();
> Lets propose that 3 seconds elapse (currentTime - startTime). It will take that value
and add the default RpcTimeout (5 seconds) making the timeout 8 seconds.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message