Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.1] Fix for block producer stuck in coma state #627

Merged
merged 3 commits into from
Jul 9, 2022
Merged

Conversation

heifner
Copy link
Member

@heifner heifner commented Jul 9, 2022

Backports: #495 Send handshake for heartbeat/2 if no block (first commit)

  • Send handshake message if we have not seen or sent a block for heartbeat/2.
  • Always send handshake message even if it has not changed since it was last sent.

Additional changes in second commit:

  • Main change is to always start syncing from LIB instead of HEAD.
  • Change default keepalive interval to 10s. Previous default of 32s seems rather excessive given that block time is 500ms.
  • Honor keepalive interval regardless of protocol version since there is nothing that requires a particular protocol version.

linh2931 and others added 2 commits July 7, 2022 20:49
Backport: Send handshake for heartbeat/2 if no block -- main
…d instead of HEAD since node might be on its own private fork.

Decrease default keepalive interval to 10s. Previous default of 32s seems rather excessive given that block time is 500ms.
Honor keepalive interval for all protocol versions since there is nothing about it that depends on a particular protocol version.
@heifner heifner added the OCI OCI working this issue... label Jul 9, 2022
@heifner heifner requested a review from linh2931 July 9, 2022 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI OCI working this issue...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants