Skip to content

fix: don't switch to snapsync for fast node#2367

Merged
zzzckck merged 1 commit intobnb-chain:developfrom
zzzckck:fix_fastnode_snapsync
Apr 2, 2024
Merged

fix: don't switch to snapsync for fast node#2367
zzzckck merged 1 commit intobnb-chain:developfrom
zzzckck:fix_fastnode_snapsync

Conversation

@zzzckck
Copy link
Copy Markdown
Collaborator

@zzzckck zzzckck commented Apr 2, 2024

Description

Noticed fast node printed this log and switched to snap sync:

Switch sync mode from full sync to snap sync reason="head state missing"

But fast node can not support snap sync, as it does not have trie node.
Actually it is bug caused by this commit, which removed the NoTrie() check by mistake: 93d652b

Rationale

NA

Example

NA

Changes

NA

@zzzckck zzzckck requested a review from unclezoro as a code owner April 2, 2024 09:22
@zzzckck zzzckck requested review from galaio and pythonberg1997 April 2, 2024 09:35
@zzzckck zzzckck merged commit 7dbafe7 into bnb-chain:develop Apr 2, 2024
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