Summary
This is a follow up issue of #5360.
Current behavior:
Currently, Forest runs a background task on startup to populate the eth mappings from the heaviest tipset down to the Hygge height. This process is time-consuming and blocks Forest from being ready to serve RPC API calls, which slows down our CI pipeline.
Proposed change:
Remove this background task from the daemon and offline mode. Instead, move this functionality to the forest-tool index backfill subcommand and backfill_db utility function.
Also make sure documentation has been updated accordingly as well as /readyz endpoint code.
Additional Links & Resources
n/a
Summary
This is a follow up issue of #5360.
Current behavior:
Currently, Forest runs a background task on startup to populate the eth mappings from the heaviest tipset down to the Hygge height. This process is time-consuming and blocks Forest from being ready to serve RPC API calls, which slows down our CI pipeline.
Proposed change:
Remove this background task from the daemon and offline mode. Instead, move this functionality to the
forest-tool index backfillsubcommand andbackfill_dbutility function.Also make sure documentation has been updated accordingly as well as
/readyzendpoint code.Additional Links & Resources
n/a