erigontech / erigontech/silkworm
silkworm: assertion failed when snapshot repository contains unfinished Recsplit index files
- Dominant language
- C++
- Stars
- 318
- Forks
- 84
- PR merge metrics
- No merged PRs in 30d
Description
Restarting Silkworm after an unexpected termination may lead to another termination due to the following assertion failed:
```
INFO [12-23|18:40:34.694 UTC] Silkworm version=master0.1.0-dev+commit.b0ce84b9 build=linux-x86_64 release compiler=gnu 11.4.0
INFO [12-23|18:40:34.695 UTC] Opening database path=/root/.local/share/silkworm/chaindata
INFO [12-23|18:40:34.695 UTC] Database schema version=6.1.0
INFO [12-23|18:40:34.695 UTC] Starting Silkworm chain=1 config=...
INFO [12-23|18:40:34.695 UTC] Effective pruning mode=--prune=
INFO [12-23|18:40:34.695 UTC] Reopen snapshot repository folder: /root/.local/share/silkworm/snapshots
Assert failed: leaf_size == LEAF_SIZE Source: /opt/silkworm/silkworm/db/datastore/snapshots/rec_split/rec_split.hpp, line 309
```
This is caused by the unfinished download of some RecSplit index files.
Contributor guide
Assessment
This issue has not been assessed yet.