apple / swift-cluster-membership

Distributed Membership Protocol implementations in Swift
https://apple.github.io/swift-cluster-membership/
Apache License 2.0
201 stars 20 forks source link

De-prioritize pinging unreachable nodes (when using that mode) #12

Open ktoso opened 4 years ago

ktoso commented 4 years ago

We have "unreachable" status in addition to dead (if enabled).

Unreachable is used to keep trying even though it should be dead and waiting for another system confirm that yes we should confirm it dead.

That keep trying makes it the same as suspect today; while in reality it should be "less of a priority". We could reflect this somehow in how we ping unreachables.