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

Add tracker readiness endpoint and client #380

Merged
merged 6 commits into from
Nov 15, 2024
Merged

Conversation

Anton-Kalpakchiev
Copy link
Collaborator

@Anton-Kalpakchiev Anton-Kalpakchiev commented Nov 14, 2024

As described in #371, all services should implement a "readiness" endpoint, which checks whether the service is ready to serve traffic, i.e. whether it can reach all of its dependencies. The tracker makes requests to the origin cluster to get metainfo data for torrents. Therefore, its readiness endpoint should check the origin's readiness.

Additionally, the tracker's readiness endpoint must be queried by the agent, thus a client for the endpoint must be added.

  • Add readiness endpoint for tracker, which checks origin's readiness.
  • Add client for the endpoint

Stacked on top of #377

Base automatically changed from build-index-is-ready to master November 15, 2024 12:19
@Anton-Kalpakchiev Anton-Kalpakchiev merged commit c34d600 into master Nov 15, 2024
5 checks passed
@Anton-Kalpakchiev Anton-Kalpakchiev deleted the tracker-is-ready branch November 15, 2024 12:22
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.

2 participants