allegro / allegro/consul-registration-hook

Delay consul hook registration return

Open
#42 0 comments 0 reactions 1 assignee Claimed by @ojagodzinski View on GitHub
Dominant language
Go
Stars
17
Forks
11
PR merge metrics
PR metrics pending

Description

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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.