-
|
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.unavailabledoes 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.stablefor more thanunstable_threshold_s(which isNtimes the election timeout, withNto be decided by the operator based on how sensitive the health check shou…