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

[1.0-beta4 -> main] Add max-reversible-blocks option #497

Merged
merged 9 commits into from
Aug 8, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Aug 8, 2024

New chain_plugin option max-reversible-blocks. Specifies the maximum number of reversible blocks beyond current LIB to allow before the node is gracefully shutdown. The graceful shutdown is provided as a way to prevent out of memory kill by OS. Once consensus is working again the node can be started with a larger max-reversible-blocks value to continue.

  --max-reversible-blocks arg (=3600)   Approximate maximum allowed reversible
                                        blocks before shutdown. Will shut down
                                        if limit reached. Specify 0 to disable.

Merges release/1.0-beta4 into main including #493

Resolves #447

@heifner heifner requested review from linh2931 and greg7mdp August 8, 2024 01:22
@heifner heifner added the OCI Work exclusive to OCI team label Aug 8, 2024
@heifner heifner merged commit 258cb0e into main Aug 8, 2024
36 checks passed
@heifner heifner deleted the GH-447-term-excessive-blocks-main branch August 8, 2024 11:16
@ericpassmore
Copy link
Contributor

Note:start
group: PROTOCOL
category: HTTP
summary: Adds new chain_plugin option max-reversible-blocks. Specifies the maximum number of reversible blocks beyond current LIB to allow before the node is gracefully shutdown.
Note:end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terminate nodeos when reversible blocks exceeds irreversible blocks by excessive amount
5 participants