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

[feat] Detect, inform and recover from disk corruption issues better #3489

Open
patricklodder opened this issue Mar 25, 2024 · 0 comments
Open
Labels

Comments

@patricklodder
Copy link
Member

patricklodder commented Mar 25, 2024

Originally requested by @sumariva in #3451 (comment)

  1. When read errors occur, cryptic messages show up in Qt, such as "Block does not have our chainid", leaving the operator with no clue why this error occured and how to solve it, leaving Dogecoin Qt in a loop where at every restart the same error message occurs. Improving error messages displayed to Qt may help improve this.
  2. We may want to create better tooling to rewind the chain state up to the last known non-corrupted block before the first read error occurred and continue sync from there, as the chain can be quite slow to sync during high traffic. This is especially important for pruned nodes, as disk errors on these nodes will often have only impact on the tail end of the chain, greatly saving download targets (and with that saving the network as a whole a lot of data out too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant