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

SnapshotHostInfo should expire when the epoch ends #12424

Open
saketh-are opened this issue Nov 10, 2024 · 0 comments
Open

SnapshotHostInfo should expire when the epoch ends #12424

saketh-are opened this issue Nov 10, 2024 · 0 comments
Assignees
Labels
A-network Area: Network

Comments

@saketh-are
Copy link
Collaborator

saketh-are commented Nov 10, 2024

SnapshotHostInfo advertises a snapshot made at the end of a specific epoch. The node will not retain the snapshot beyond the end of the following epoch.

Peers in the network store and share the most recent SnapshotHostInfo published by each node. Otherwise, there is no expiration logic. If a node leaves the network and stops publishing new snapshots, its old information will survive indefinitely.

Every time a new connection is made the entire set of SnapshotHostInfos are exchanged. Sharing old data wastes bandwidth, so we should add some expiry check to prevent it.

@saketh-are saketh-are added the A-network Area: Network label Nov 10, 2024
@saketh-are saketh-are self-assigned this Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-network Area: Network
Projects
None yet
Development

No branches or pull requests

1 participant