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

Automate archival snapshot uploads #414

Open
lemmih opened this issue Feb 20, 2024 · 0 comments · May be fixed by #428
Open

Automate archival snapshot uploads #414

lemmih opened this issue Feb 20, 2024 · 0 comments · May be fixed by #428
Assignees

Comments

@lemmih
Copy link
Collaborator

lemmih commented Feb 20, 2024

Issue summary

We maintain archives of diff snapshots (one per 3,000 epochs) and lite snapshots (one per 30,000 epochs) for both mainnet and calibnet. See https://forest-archive.chainsafe.dev/list/calibnet/diff and https://forest-archive.chainsafe.dev/list/calibnet/lite.

Right now, we manually generate and upload new files occasionally. The steps are roughly:

  1. Sync with latest lite+diff snapshots.
  2. Export a large master snapshot covering, say, 30,000 epochs.
  3. Generate diffs and lite snapshots from the master snapshot. Eg. forest-tool archive export ...
  4. Upload snapshots.
  5. Repeat as necessary.

This process has to be automated. Open questions:

  • Should this happen on a DO droplet or on Archie/Fuzzy?
  • How often should the archives be updated? Once per day or once per 10-day?

Other information and links

Archival diffs: https://forest-archive.chainsafe.dev/list/calibnet/diff
Archival lites: https://forest-archive.chainsafe.dev/list/calibnet/lite

@lemmih lemmih linked a pull request Apr 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants