Skip to content

Enable exponential backoff for AuRa#480

Merged
distributedstatemachine merged 4 commits intodevelopmentfrom
enable-exponential-backoff
May 27, 2024
Merged

Enable exponential backoff for AuRa#480
distributedstatemachine merged 4 commits intodevelopmentfrom
enable-exponential-backoff

Conversation

@keithtensor
Copy link
Contributor

This PR enables exponential backoff for the block authoring gadget AuRa. It uses the default backoff settings, i.e. it never waits more than 100 blocks before authoring, it starts considering backing off after 50 or more unfinalized blocks, and it is biased to consider the unfinalized head suffix length to grow half as fast as in actuality.

@keithtensor keithtensor requested a review from a team May 27, 2024 12:49
@distributedstatemachine distributedstatemachine merged commit 38ea19d into development May 27, 2024
@distributedstatemachine distributedstatemachine deleted the enable-exponential-backoff branch May 27, 2024 15:33
@gztensor
Copy link
Contributor

Wow, this is great we have it now! How do we test exponential backup? Should we add some enormous size test migration?

@distributedstatemachine
Copy link
Collaborator

Wow, this is great we have it now! How do we test exponential backup? Should we add some enormous size test migration?

@gztensor would be pretty hard to recreate , but keen on ideas. We need a large existing state , with a lot of nodes , similar to finney. Might be worth recreating during the finney dry run, and using a pre v.1 snapshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants