Skip to content

Fix DNA stream server reliability issues #423

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

Merged
merged 6 commits into from
Apr 13, 2025

Conversation

fracek
Copy link
Contributor

@fracek fracek commented Apr 13, 2025

Summary

This PR fixes a couple of minor DNA stream server reliability issues:

  • Correctly detect cursor siblings on stream start. Previously, the function was returning the reorg target cursors.
  • Keep the stream server running when the etcd client disconnects. Now, the server keeps streaming historical data to clients and will resume serving live data once the etcd state client comes back online.

@fracek fracek merged commit abc7192 into apibara:main Apr 13, 2025
4 checks passed
@fracek fracek deleted the improve-reliability branch April 13, 2025 11:47
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

Successfully merging this pull request may close these issues.

1 participant