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

tiasync: choose best state sync snapshot from multiple upstream peers #14

Open
misko9 opened this issue Jun 18, 2024 · 0 comments
Open

Comments

@misko9
Copy link
Contributor

misko9 commented Jun 18, 2024

Currently, tiasync only supports a single upstream peer for state sync. If there are multiple upstream peers, the first connected upstream peer is used.

This enhancement will query all upstream peers for their snapshots and deliver the best snapshot to the fullnode.

Depending on tiasync's discovery time, the fullnode's discovery time may expire before the best snapshot is delivered. Especially due to tiasync's start latency. This may be okay if the fullnode just retries, but something to note and test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant