When stress-testing the checkpoint/recovery system for archives, the following issue was encountered:
Using checkpoint on block 13143.
Restoration complete. Exporting LiveDB genesis.
Forcing unlock of directory /tmp/db-heal-test/state_db_tmp_90448505/archive ...
Resetting archive in /tmp/db-heal-test/state_db_tmp_90448505/archive to block 13143 ...
Archive successfully reset to block 13143
2024/09/10 21:53:54 [t= 0:00] - export started
unexpected end of JSON input
exit status 1
The issue was produced running the following command:
It looks like the corrupted file is the Archive's top-level meta file containing the root node and hash. This file is indeed not protected by a checkpoint.
When stress-testing the checkpoint/recovery system for archives, the following issue was encountered:
The issue was produced running the following command:
The issue seems to be created by the export step.