hashicorp / hashicorp/serf

Can serf recover a single cluster following a "long" network partition?

Open
#605 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
609
Avg merge
15h 1m
Merged PRs (30d)
3

Description

If there is a network partition for a long period of time can serf automatically recover? To define some terms:

* long - longer than suspicion timeouts (ie all nodes across the partition are confirmed dead)
* recover - combine the resulting two clusters into a single cluster

For example, there are four nodes `A`, `B`, `C`, and `D`. A network partition causes `A` and `B` to be isolated into their own cluster, and `C` and `D` are isolated into a separate cluster. Now the network is fixed. Will the two split clusters be able to recover and form a single cluster with all four nodes?

One could manually heal the split by adding a node with peers from both clusters.

Thanks for the awesome project!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.