Skip to content

Timely halt Avalanche engine#3792

Merged
aaronbuchwald merged 1 commit intoava-labs:masterfrom
yacovm:halt
Mar 12, 2025
Merged

Timely halt Avalanche engine#3792
aaronbuchwald merged 1 commit intoava-labs:masterfrom
yacovm:halt

Conversation

@yacovm
Copy link
Copy Markdown
Contributor

@yacovm yacovm commented Mar 12, 2025

Why this should be merged

Without this PR, the Avalanche bootstrapper doesn't stop its operation when the node shutdown operation is invoked.

How this works

The avalanche bootstrapper relies on an internal haltable check, which was not used after refactoring that took place in #3406.

I simply re-wired the aforementioned haltable check to the haltable that was added in #3406.

How this was tested

I wiped out the ~/.avalanchego directory and bootstrapped an avalanchego Fuji node, and pressed ctrl+C when it started replicating the P and X chains and made sure it halted immediately.

Need to be documented in RELEASES.md?

No.

Comment thread snow/engine/avalanche/bootstrap/config.go
Signed-off-by: Yacov Manevich <[email protected]>
@aaronbuchwald aaronbuchwald added this pull request to the merge queue Mar 12, 2025
Merged via the queue into ava-labs:master with commit 89fd00f Mar 12, 2025
23 checks passed
cam-schultz pushed a commit that referenced this pull request Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants