-
The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@lynshi: In fact, the |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
@lynshi: In fact, the |
Beta Was this translation helpful? Give feedback.
@lynshi:
HealthState.unavailable
does not indicate that the service is unrecoverable; it simply states that the current primary is not available and that an observer cannot tell for sure whether an election is in progress at this point in time.In fact, the
get_network_health()
functions doesn't decide if the service is unrecoverable but simply returns the current health state of the network. It is up to therun()
loop to decide whether the service is unrecoverable, which is declared as such if the service hasn't beHealthState.stable
for more thanunstable_threshold_s
(which isN
times the election timeout, withN
to be decided by the operator based on how sensitive the health check shou…