-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
Hi,
A stupid question : I checked the sd/etcd client and if I understood correctly, the registration doesn't expire. So, if the machine goes down violently, we won't run Deregister() and the service will still be registered.
Wouldn't it be better to have a TTL on the registration, and call it regularly ? So if the service goes down and cannot call Deregister, etcd will remove the service by itself and it won't appear anymore to the other services.
Reactions are currently unavailable