Skip to content

perf(consensus): Undo revert #3211. (Remove reactor Consensus RLocks)#3341

Merged
andynog merged 6 commits intomainfrom
dev/remove_consR_rlocks
Jul 3, 2024
Merged

perf(consensus): Undo revert #3211. (Remove reactor Consensus RLocks)#3341
andynog merged 6 commits intomainfrom
dev/remove_consR_rlocks

Conversation

@ValarDragon
Copy link
Contributor

@ValarDragon ValarDragon commented Jun 26, 2024

Pretty simple bug fix for the e2e failure on #3211. There was a race condition at iniitialization for initial height, because we didn't initialize it early on enough.

The error in the E2E logs was:

validator03    | E[2024-06-21|21:13:20.744] Stopping peer for error                      module=p2p peer="Peer{MConn{10.186.73.2:34810} 4fe295e4cfad69f1247ad85975c6fd87757195db in}" err="invalid field LastCommitRound can only be negative for initial height 0"
validator03    | I[2024-06-21|21:13:20.744] service stop                                 module=p2p peer=4fe295e4cfad69f1247ad85975c6fd87757195db@10.186.73.2:34810 msg="Stopping Peer service" impl="Peer{MConn{10.186.73.2:34810} 4fe295e4cfad69f1247ad85975c6fd87757195db in}"

hinting at initial height not being set rpoperly.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments
  • Title follows the Conventional Commits spec

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants