Summary
Right now Forest needs to be shut down to run, e.g., ❯ forest-tool index backfill --chain mainnet --to 6172000. Failing to do so, ends up in an error:
Error: Database file is in use. (Resource temporarily unavailable (os error 11))
Caused by:
Resource temporarily unavailable (os error 11)
I guess it's not an inherent limitation of the logic itself - more like ParityDb refusing to be shared by two processes (fair). If it's the case, we can just move it to the daemon and call it via forest-cli. This should be quite straightforward, but there might be some edge cases to look for, e.g., existing state & caches.
Completion Criteria
Additional Links & Resources
Summary
Right now Forest needs to be shut down to run, e.g.,
❯ forest-tool index backfill --chain mainnet --to 6172000. Failing to do so, ends up in an error:I guess it's not an inherent limitation of the logic itself - more like ParityDb refusing to be shared by two processes (fair). If it's the case, we can just move it to the daemon and call it via
forest-cli. This should be quite straightforward, but there might be some edge cases to look for, e.g., existing state & caches.Completion Criteria
Additional Links & Resources