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

Sam Tunnicliffe updated CASSANDRA-21002:
----------------------------------------
          Since Version: NA
    Source Control Link: 
https://github.com/apache/cassandra/commit/856db2afa03c23e40f739c122d09903c1216c1a3
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> 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
>
>         Attachments: ci_summary.html, result_details.tar.gz
>
>
> 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]

Reply via email to