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

Fix seed-nodes endpoint used by ClusterBootstrap #2636

Merged

Conversation

Arkatufus
Copy link
Contributor

@Arkatufus Arkatufus commented Jul 10, 2024

Changes

Make the "bootstrap/seed-nodes" endpoint return an empty seed node list if it is downed, exiting, leaving, or removed from the cluster.

@Arkatufus Arkatufus marked this pull request as draft July 10, 2024 17:07
Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - this should help keep garbage out of the bootstrapping process from nodes that are on their way out the door.

@Arkatufus Arkatufus marked this pull request as ready for review July 10, 2024 17:10
@Arkatufus
Copy link
Contributor Author

Returning a non-200 HTTP status broke the spec, it needs to return an empty seed node list.

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) July 12, 2024 19:32
@Aaronontheweb Aaronontheweb merged commit 339a0d8 into akkadotnet:dev Jul 12, 2024
3 checks passed
@Arkatufus Arkatufus deleted the fix-cluster-seed-nodes-endpoint branch July 15, 2024 20:32
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