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

Aleksey Yeschenko commented on CASSANDRA-14293:
-----------------------------------------------

The roundtrip tests should be failing but aren't, because the loss of precision 
occurs in the constructor. So we pass bad values to {{assertEquals}} in both 
arguments, and don't notice the loss.

> Speculative Retry Policy Should Support Specifying MIN/MAX of 2 PERCENTILE 
> and FIXED Policies
> ---------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14293
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14293
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Michael Kjellman
>            Assignee: Michael Kjellman
>            Priority: Major
>             Fix For: 4.x
>
>
> Currently the Speculative Retry Policy takes a single string as a parameter, 
> this can be NONE, ALWAYS, 99PERCENTILE (PERCENTILE), 50MS (CUSTOM).
> The problem we have is when a single host goes into a bad state this drags up 
> the percentiles. This means if we are set to use p99 alone, we might not 
> speculate when we intended to to because the value at the specified 
> percentile has gone so high.
> As a fix we need to have support for something like min(99percentile,50ms)
> this means if the normal p99 for the table is <50ms, we will still speculate 
> at this value and not drag the happy path tail latencies up... but if the 
> p99th goes above what we know we should never exceed we use that instead.



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

Reply via email to