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

Delay consul hook registration return #42

Open
ojagodzinski opened this issue Nov 21, 2019 · 0 comments
Open

Delay consul hook registration return #42

ojagodzinski opened this issue Nov 21, 2019 · 0 comments
Assignees

Comments

@ojagodzinski
Copy link
Member

Deregistration in Consul can be quicker than registration and this creates a race condition in which the previous instances can be removed from Consul catalog before adding new ones are propagated to all client agents.

The "best effort" solution would be to at least check at the local agent whether the registered instance is among the ones in the catalog (consul doesn't cache the state, it always reaches the masters for catalog queries).

@ojagodzinski ojagodzinski self-assigned this Nov 21, 2019
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