appform-io / ranger

Service Discovery for Java
Apache License 2.0
7 stars 12 forks source link

Don't reset registry on refresh Failures #25

Closed pranithk closed 1 year ago

pranithk commented 1 year ago

On refresh failures, NodeDataSource returns empty list. But ServiceRegistryUpdater resets the list it has with this empty list leading to api failures which depend on this. It is better to not update this list and keep some potential stale nodes in the list instead when such failures occur.