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

Release 1.10.22 Regression #25579

Closed
luzianscherrer opened this issue Aug 23, 2022 · 10 comments
Closed

Release 1.10.22 Regression #25579

luzianscherrer opened this issue Aug 23, 2022 · 10 comments

Comments

@luzianscherrer
Copy link

luzianscherrer commented Aug 23, 2022

Since release 1.10.22 has been marked with a regression issue, could you please issue a quick statement for the following points:

  • What is the recommended course of action when one has already upgraded?
  • Would a downgrade to 1.10.21 be safe?
  • How can one determine if the instance is affected by the issue?
@karalabe
Copy link
Member

You can downgrade, yes. No other ideas for now.

@ligi ligi reopened this Aug 23, 2022
@cybersi
Copy link

cybersi commented Aug 23, 2022

Happened to me this morning. Decided to downgrade to v1.10.21, deleted the database and resynced. Is there a way to repair the local state if the corruption happens?

@MariusVanDerWijden
Copy link
Member

Yes, you might be able to setHead to a block before you upgraded the node

@c0deright
Copy link

Do i need to issue the setHead command with v1.0.22 still running or do I have to upgrade to v1.0.23 first?

@karalabe
Copy link
Member

Upgrade first

@c0deright
Copy link

Just for clarification: The setHead command will roll back the local blockchain and the state to the specified block as if geth didn't even see or know about the existence of all the blocks after that block that geth knew about right before the setHead command, right? Geth will then sync the "new" blocks as if geth was stopped for some days and needs to catch up to the chain head.
Is that correct?

@karalabe
Copy link
Member

Exactly

@c0deright
Copy link

c0deright commented Aug 24, 2022

The question is: Are these errors
a) expected during resync after setHead and harmless and will the node be in a consistent state after full sync is done or
b) a sign of corruption that will still be around after resync of the rewinded blocks?

@karalabe
Copy link
Member

If after setHead you are seeing missing trie node errors, then the db is fried beyond recovery and you shoudl resync (keep the ancients, delete all other files inside chaindata).

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

No branches or pull requests

8 participants
@ligi @karalabe @luzianscherrer @MariusVanDerWijden @c0deright @cybersi and others