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

Blocks snaps - see 0 after reopen #10213

Closed
AskAlexSharov opened this issue May 6, 2024 · 0 comments
Closed

Blocks snaps - see 0 after reopen #10213

AskAlexSharov opened this issue May 6, 2024 · 0 comments
Labels
imp1 High importance
Milestone

Comments

@AskAlexSharov
Copy link
Collaborator

Erigon doesn't see any indices after re-open: blocks=56331k -> blocks=0k

[INFO] [05-06|02:42:05.227] [snapshots:open] Blocks Stat             blocks=56331k indices=56331k alloc=3.7GB sys=3.8GB
[INFO] [05-06|02:42:05.764] [snapshots:open] Blocks Stat             blocks=0k indices=0k alloc=3.8GB sys=3.9GB
[INFO] [05-06|02:42:55.671] [snapshots] History Stat                 blocks=56352k txs=4035m txNum2blockNum="2048=49361K,2560=56030K,2576=56255K,2580=56310K,2582=56338K,2583=56352K" first_history_idx_in_db=56338623 last_comitment_block=56352098 last_comitment_tx_num=4035937500 alloc=12.8GB sys=13.2GB
[INFO] [05-06|02:42:55.673] [snapshots:missed-idx] Blocks Stat       blocks=0k indices=0k alloc=12.8GB sys=13.2GB
[INFO] [05-06|02:42:55.872] [snapshots:missed-idx:reopen] Blocks Stat blocks=0k indices=0k alloc=13.1GB sys=13.2GB
[INFO] [05-06|02:42:55.873] Params                                   from=56331000 to=56332000 every=1000
[INFO] [05-06|02:42:55.873] [snapshots:missed-idx] B$locks Stat       blocks=0k indices=0k alloc=13.1GB sys=13.2GB
[INFO] [05-06|02:42:56.174] [snapshots:missed-idx:reopen] Blocks Stat blocks=0k indices=0k alloc=13.4GB sys=13.5GB
[INFO] [05-06|02:42:56.175] [bor snapshots] Retire Bor Blocks        type=borevents range=0k-500k
[INFO] [05-06|02:42:56.179] [snapshots] Compression start            file=v1-000000-000500-borevents workers=7
[DBUG] [05-06|02:42:56.182] [index] created                          file=/mnt/erigon/snapshots/v1-000000-000500-borevents.idx.tmp
[DBUG] [05-06|02:42:56.182] [index] calculating                      file=v1-000000-000500-borevents.idx
[DBUG] [05-06|02:42:56.182] [index] write                            file=v1-000000-000500-borevents.idx
[INFO] [05-06|02:42:56.185] [bor snapshots] Retire Bor Blocks        type=borspans range=0k-500k
[INFO] [05-06|02:42:56.187] [snapshots] Compression start            file=v1-000000-000500-borspans workers=7
[DBUG] [05-06|02:42:56.189] [index] created                          file=/mnt/erigon/snapshots/v1-000000-000500-borspans.idx.tmp
[DBUG] [05-06|02:42:56.189] [index] calculating                      file=v1-000000-000500-borspans.idx
[DBUG] [05-06|02:42:56.189] [index] write                            file=v1-000000-000500-borspans.idx
[INFO] [05-06|02:42:56.192] [bor snapshots] Retire Bor Blocks        type=borcheckpoints range=0k-500k
[INFO] [05-06|02:42:56.254] Done
ExtractRange: 0-500000: ExtractRange: 0: checkpoint not found
@yperbasis yperbasis added the imp1 High importance label May 6, 2024
@yperbasis yperbasis added this to the 2.60.0 milestone May 6, 2024
AskAlexSharov added a commit that referenced this issue May 6, 2024
there was added new snap type and `idxAvailability()` return 0 in this
case.

for #10213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imp1 High importance
Projects
None yet
Development

No branches or pull requests

2 participants