undeadlabs / discovery

An OTP application for auto-discovering services with Consul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disconnect/Reconnect Directory populating race condition

reset opened this issue · comments

The Discovery.Directory process will sometimes miss registration messages if the node has come online but is not yet ready to receive messages. This will cause the directory to not contain the node even though the node is connected resulting in Discovery.select/3 from returning a :no_servers error.