Skip to content

State machine stuck on game_of_stakes_6 #3302

@hendrikhofstadt

Description

@hendrikhofstadt

On game_of_stakes_6 we conducted a mempool spam attack and massively slowed down consensus.

At some point when a proposal was invalid (2 people did a non-nil precommit) or not enough people saw the prevote polka, the network achieved a 75% prevote polka and a 92% precommit polka (for nil).

However the state machine did not proceed to round 1 but stayed in the RoundStepPrecommit.

Here is a dump of the goroutines:
https://gist.github.com/hendrikhofstadt/734138295ab7045d1ab315466a31ce51

This is the consensus_state of a locked up machine:
https://gist.github.com/hendrikhofstadt/579c281538391e6ac835a321e8ad1330

This is the consensus_state of a working machine (after manually deleting the cs reactor wal):
https://gist.github.com/hendrikhofstadt/d301e20cfd42eba7791752f5c7bca90f

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:consensusComponent: ConsensusT:bugType Bug (Confirmed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions