[jira] [Updated] (CASSANDRA-14509) AsyncOneResponse uses the incorrect timeout

2018-06-11 Thread Marcus Eriksson (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-14509:

   Resolution: Fixed
Fix Version/s: (was: 4.x)
   4.0
   Status: Resolved  (was: Patch Available)

and committed as {{6da5fb56c8e0777843e88359a45a461a9f9eb639}} without the 
test.runners change - if that is a problem we should probably fix that in a 
separate ticket, thanks!

> AsyncOneResponse uses the incorrect timeout
> ---
>
> Key: CASSANDRA-14509
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14509
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Dinesh Joshi
>Assignee: Dinesh Joshi
>Priority: Major
> Fix For: 4.0
>
>
> {{AsyncOneResponse}} has a bug where it uses the initial timeout value 
> instead of the adjustedTimeout. Combined with passing in the wrong 
> {{TimeUnit}}, it leads to a shorter timeout than expected. This can have 
> unintended consequences for example, in 
> {{StorageService::sendReplicationNotification}} instead of waiting 10 seconds 
> ({{request_timeout_in_ms}}), we wait for {{1}} Nano Seconds.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14509) AsyncOneResponse uses the incorrect timeout

2018-06-08 Thread Dinesh Joshi (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dinesh Joshi updated CASSANDRA-14509:
-
Fix Version/s: 4.x
   Status: Patch Available  (was: Open)

||14509||
|[branch|https://github.com/dineshjoshi/cassandra/tree/trunk-14509]|
|[utests  
dtests|https://circleci.com/gh/dineshjoshi/workflows/cassandra/tree/trunk-14509]|
||

> AsyncOneResponse uses the incorrect timeout
> ---
>
> Key: CASSANDRA-14509
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14509
> Project: Cassandra
>  Issue Type: Bug
>  Components: Core
>Reporter: Dinesh Joshi
>Assignee: Dinesh Joshi
>Priority: Major
> Fix For: 4.x
>
>
> {{AsyncOneResponse}} has a bug where it uses the initial timeout value 
> instead of the adjustedTimeout. Combined with passing in the wrong 
> {{TimeUnit}}, it leads to a shorter timeout than expected. This can have 
> unintended consequences for example, in 
> {{StorageService::sendReplicationNotification}} instead of waiting 10 seconds 
> ({{request_timeout_in_ms}}), we wait for {{1}} Nano Seconds.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org