You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nivy (Jira)" <ji...@apache.org> on 2026/01/06 22:03:00 UTC

[jira] [Created] (CASSANDRA-21102) Fix off-by-one bug in exponential backoff for repair retry config

Nivy created CASSANDRA-21102:
--------------------------------

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


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



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

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