Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

approval-voting: query finalized block on startup and increase look back #4705

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

ordian
Copy link
Member

@ordian ordian commented Jan 12, 2022

We've observed on Rococo when the spec was generated with the broken
SessionInfo definition and the runtime API for it has failed,
it led to a few missing block entries in the approval-voting
db, which in turn resulted in the finality stall.

Upgrading the runtime and restarting the nodes didn't fill the gap in
the missing blocks because there were no finality notifications
and the runtime api cached None for session info (fixed in the next PR).

This PR should also result in a more robust approval voting for small
testnets with nodes restarting.

@ordian
Copy link
Member Author

ordian commented Jan 12, 2022

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Jan 12, 2022
@ordian ordian added B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Jan 12, 2022
@ordian ordian force-pushed the ao-approval-voting-look-back branch from 42b27b0 to 7a195db Compare January 12, 2022 18:13
Base automatically changed from ao-approval-voting-logs to master January 12, 2022 19:22
@ordian ordian force-pushed the ao-approval-voting-look-back branch from 7a195db to c4b4d84 Compare January 12, 2022 19:24
@ordian
Copy link
Member Author

ordian commented Jan 13, 2022

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 58a489d into master Jan 13, 2022
@paritytech-processbot paritytech-processbot bot deleted the ao-approval-voting-look-back branch January 13, 2022 08:15
Wizdave97 pushed a commit to ComposableFi/polkadot that referenced this pull request Feb 3, 2022
…ack (paritytech#4705)

* approval-voting: add more logs

* approval-voting: query finalized block on startup and increase look back
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants