-
Notifications
You must be signed in to change notification settings - Fork 316
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
Gossip when a service is stopped / unloaded #5325
Comments
I just got stung by this - I'd been working on the assumption that when I stop a service it will be removed from my templated config files! Any progress? |
@jamessewell Not yet, but we hope to get to this soon. |
Hi there, I came across this issue today, where my nginx config has stale members in it config. How are people working around this at the moment? what do I have to do to refresh my census data after I unload a svc to reflect the current state of play |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
1 similar comment
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
When you shut down a service, whether with
hab svc unload
orhab svc stop
, we need to gossip the fact that the Supervisor is no longer running that service.We don't do this now, and so the only way for a service to "disappear" from the census is if its Supervisor dies, because we have a bit of a conflation of Supervisor presence and Service presence. If you're running on "disposable infrastructure", this may be less of a problem, but can be very surprising / puzzling / dangerous otherwise.
We should confirm that once you
hab svc start
a stopped service re-load a previously unloaded service that we still send out the appropriate "service added" rumors.The text was updated successfully, but these errors were encountered: