You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (Jira)" <ji...@apache.org> on 2025/11/17 18:52:00 UTC

[jira] [Commented] (CASSANDRA-21002) Retry without time limit calculates wait time incorrectly

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

Sam Tunnicliffe commented on CASSANDRA-21002:
---------------------------------------------

CI results to follow

> Retry without time limit calculates wait time incorrectly
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-21002
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21002
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Transactional Cluster Metadata
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>            Priority: Normal
>             Fix For: 6.x
>
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org