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

Nivy updated CASSANDRA-21102:
-----------------------------
    Description: 
The upper bound for repair retry backoff is multiplied by 2^attempts, but 
attempts always starts at 1. This means we always wait (at maximum) twice as 
long for the first retry attempt.

Rather than modify the complex regex string defining retries, we can modify 
LatencyModifier to interpret this exponent as max(0, attempts - 1).

  was:
The lower bound for repair retry backoff is multiplied by 2^attempts, but 
attempts always starts at 1. This means we always wait (at minimum) twice as 
long for the first retry attempt.

Rather than modify the complex regex string defining retries, we can modify 
LatencyModifier to interpret this exponent as max(0, attempts - 1).


> Fix off-by-one bug in exponential backoff for repair retry config
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-21102
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21102
>             Project: Apache Cassandra
>          Issue Type: Bug
>            Reporter: Nivy
>            Assignee: Nivy
>            Priority: Normal
>
> The upper bound for repair retry backoff is multiplied by 2^attempts, but 
> attempts always starts at 1. This means we always wait (at maximum) twice as 
> long for the first retry attempt.
> Rather than modify the complex regex string defining retries, we can modify 
> LatencyModifier to interpret this exponent as max(0, attempts - 1).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to