Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Added healing feature on InfluxClusterClient #267

Merged
merged 1 commit into from
Nov 19, 2015

Conversation

PierreF
Copy link
Contributor

@PierreF PierreF commented Nov 19, 2015

With a long running process, the Cluster client had an issue: once a server is moved to bad_hosts, it's only retried when all other hosts also failed. So when it recovers, only a subset of healthy server are used.

The worse case, it when all server was down, as soon as one server if back online, it become the only server used.

This pull request fix this issue by moving server from bad_hosts to healthy hosts list after a delay.

@aviau
Copy link
Collaborator

aviau commented Nov 19, 2015

Thanks! This is a feature I was hoping for.

aviau added a commit that referenced this pull request Nov 19, 2015
Added healing feature on InfluxClusterClient (Thanks @PierreF !)
@aviau aviau merged commit dbff74e into influxdata:master Nov 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants