Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Stop trying importing when 'No Parent' error #497

Open
Nashatyrev opened this issue Sep 8, 2016 · 4 comments
Open

Stop trying importing when 'No Parent' error #497

Nashatyrev opened this issue Sep 8, 2016 · 4 comments
Labels

Comments

@Nashatyrev
Copy link
Member

'No Parent' means that something went really wrong when importing a block from the main chain and this error may be assumed unrecoverable

@Melvillian
Copy link

We are getting this error all the time, usually after a "DBException - Closed" error from get org.ethereum.datasource.LevelDbDataSource.get, or from a mismatch between the Block receipt, logBloom, or state variables. We have a monit process set up to watch for such log lines and reboot the process if they appear, but ethereumJ is close to unusable when it silently stops working with these "No parent" errors

@Nashatyrev
Copy link
Member Author

@Melvillian I hope we will shortly get rid of DBException - Closed problems after fixing #427
We also working now on #431
Let's get back to your problems after resolving those issues. It's pity to hear you get those errors constantly. On our servers they are not appearing mostly (with a couple of rare exceptions)

@cupuyc
Copy link
Collaborator

cupuyc commented Sep 13, 2016

@Nashatyrev For me, No parent error happened when I switch networks and use same database directory. Can we protect database in that case?

@Nashatyrev
Copy link
Member Author

@cupuyc Good proposal. We may think on this protection later

@romanman romanman added the bug label Feb 23, 2017
@Nashatyrev Nashatyrev modified the milestone: 1.5.0 Feb 24, 2017
@mkalinin mkalinin removed this from the 1.5.0 milestone Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants