-
Notifications
You must be signed in to change notification settings - Fork 258
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
[Bug Report] panicked when importing snapshot #3539
Comments
@jiangying000 could you show logs? |
I have test using the main net 6850080 height block 。It shows that "acc_node_block hash not match root_hash 0xce60e948a82904cee4909edf30904b168ecf1585fa2c7b9807d42a13c05f56ab verify_hash 0xe8d68cee8d2d7e14a523993ca8a450c126dd1d8c28c2cd42cc1931e21fba11bd"。
the block height is 6850080 |
thank you! I see the err log after redirecting it to file, maybe progress bar overwritten the error log in console?
and my snapshot version is
seems the snapshot file is broken |
I don't know the reason。I test the barnard snapshot.tar.gz it works well. I will find the reason. |
my snapshot version is
but when i use
I find that main net block height [6456001-6469000] in file block dup。So I think if there is something wrong run code 'https://github.com/starcoinorg/starcoin/blob/master/scripts/sync_block.py#L93', because increment export will append these file fail, may be it will append twice。 But import is not idempotent, so there is something wrong。 I think sync_block.py should backup |
Bug Report
Starcoin version:
current master HEAD
commit: 9349f09
Current behavior:
run command ( command took from cookbook )
release version silently fails.
debug version panicked with
Expected behavior:
snapshot imported
Steps to reproduce:
./import_snapshot.sh main ~/snapshot/ ~/.starcoin/main
Related code:
logs show code run to this line before panick
starcoin/cmd/db-exporter/src/main.rs
Line 1464 in 9349f09
Other information:
run many times, always panick 3-5s after
import acc_node_block
reaches 100%just a guess, maybe relate to
env
Ubuntu 18.04 LTS x86_64
The text was updated successfully, but these errors were encountered: