Skip to content

SD - registration doesn't expire ? #343

@pdaures

Description

@pdaures

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions