You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Arya Goudarzi (JIRA)" <ji...@apache.org> on 2012/07/11 01:45:35 UTC

[jira] [Commented] (CASSANDRA-4006) Add truncate_timeout configuration setting

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

Arya Goudarzi commented on CASSANDRA-4006:
------------------------------------------

This is also an improvement for the current 1.1.2 and future versions. Maybe we should change affected version so that it gets more attention. I don't have permission to do that.
                
> Add truncate_timeout configuration setting
> ------------------------------------------
>
>                 Key: CASSANDRA-4006
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4006
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.8
>            Reporter: Aaron Morton
>            Priority: Minor
>
> http://www.mail-archive.com/user@cassandra.apache.org/msg20877.html
> from TruncateResponseHandler
> {code:java}
>         long timeout = DatabaseDescriptor.getRpcTimeout() - (System.currentTimeMillis() - startTime);
>         boolean success;
>         try
>         {
>             success = condition.await(timeout, TimeUnit.MILLISECONDS); // TODO truncate needs a much longer timeout
>         }
> {code}

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