Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

[Incremental Snapshots] Add RPC fn to query a specific snapshot's info #20173

Closed
Tracked by #19885
brooksprumo opened this issue Sep 24, 2021 · 2 comments
Closed
Tracked by #19885
Assignees

Comments

@brooksprumo
Copy link
Contributor

brooksprumo commented Sep 24, 2021

At bootstrap, a node gets a list of snapshot Slot+Hashes, and then picks the highest Slot. If it needs to download the snapshot, we need to know if it's a full snapshot or an incremental snapshot. If it's an incremental snapshot, we need to download the full snapshot (if we don't have it already).

So we need a way to query the RPC node about the snapshot to figure out (1) its type, and (2) if it's an incremental snapshot then we also need the slot+hash of its corresponding full snapshot.

@brooksprumo brooksprumo changed the title Add RPC fn to query a specific snapshot's info [Incremental Snapshots] Add RPC fn to query a specific snapshot's info Sep 24, 2021
brooksprumo added a commit to brooksprumo/solana that referenced this issue Sep 26, 2021
brooksprumo added a commit to brooksprumo/solana that referenced this issue Sep 26, 2021
brooksprumo added a commit to brooksprumo/solana that referenced this issue Sep 26, 2021
brooksprumo added a commit to brooksprumo/solana that referenced this issue Sep 26, 2021
@brooksprumo
Copy link
Contributor Author

Closing this issue, as a new way to handle downloading incremental snapshots at bootstrap will be used instead.

@brooksprumo brooksprumo self-assigned this Sep 30, 2021
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant