[
https://issues.apache.org/jira/browse/CASSANDRA-20735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sam Tunnicliffe updated CASSANDRA-20735:
----------------------------------------
Resolution: Duplicate
Status: Resolved (was: Triage Needed)
> Retry without time limit calculates wait time incorrectly
> ---------------------------------------------------------
>
> Key: CASSANDRA-20735
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20735
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Legacy/Core
> Reporter: Sam Tunnicliffe
> Assignee: Sam Tunnicliffe
> Priority: Normal
>
> The Retry instances returned by Retry::withNoTimeLimit don't properly convert
> from the wait time obtained from their delegate in nanos to the timeunit
> requested by the caller. For callers which request a wait time not in nanos
> such as Retry::maybeSleep which is used, for instance, when running Paxos
> repair during CMS reconfiguration, the sleep time is inflated by orders of
> magnitude.
> Compounding this issue, when a node starts up and detects that either its
> broadcast address or release version has changed, it submits a STARTUP
> transformation to the CMS with the updated details. For this one submission,
> a custom retry strategy is used which is intended to keep on trying to commit
> indefinitely rather than stopping after a maximum number of attempts. There
> are issues with the implementation of this strategy which causes the default
> sleep time between retries to be approximately 198 weeks.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]