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

Enforce services listing at startup to not remove them from consul if still needed #191

Closed
wants to merge 1 commit into from

Conversation

ashangit
Copy link

Currently , at startup the servces map in ConsulSyncer is empty, due to that the watchReapableServices can remove some services from consul that are still needed
but for which the controller had not enough time to add them in the services map.

This PR enforce the listing of all services at startup so we do not remove from consul still existing ones

… still needed

At startup the servces map in ConsulSyncer is empty.
Due to that the watchReapableServices can remove some services from consul that are still needed
but for which the controller had not enough time to add them in the services map.
This commit enforce the listing of all services at startup
@ishustava ishustava added area/sync Related to catalog sync type/bug Something isn't working labels Jan 30, 2020
@lkysow lkysow mentioned this pull request Feb 18, 2020
@lkysow lkysow closed this in #208 Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sync Related to catalog sync type/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants