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

Race condition when registering services over the HTTP API #413

Closed
ryanuber opened this issue Oct 20, 2014 · 1 comment
Closed

Race condition when registering services over the HTTP API #413

ryanuber opened this issue Oct 20, 2014 · 1 comment
Labels
type/bug Feature does not function as expected

Comments

@ryanuber
Copy link
Member

When registering a service using the HTTP API /v1/catalog/register with a health check which should fail on the first attempt, there is a brief period where the node shows up in the service catalog as "passing" because the associated health check has not yet been registered, and therefore the node appears healthy. This is easily reproduced by setting a watch on /v1/health/services and then registering a new service.

This is related to #341.

@ryanuber
Copy link
Member Author

This was fixed in #591.

duckhan pushed a commit to duckhan/consul that referenced this issue Oct 24, 2021
…icorp#413)

* Default namespaces for CRDs that support namespace when enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Feature does not function as expected
Projects
None yet
Development

No branches or pull requests

1 participant