spring-projects / spring-statemachine

Spring Statemachine is a framework for application developers to use state machine concepts with Spring.
1.55k stars 611 forks source link

ZookeeperStateMachineEnsemble breaks with brain split #98

Closed jvalkeal closed 9 years ago

jvalkeal commented 9 years ago

We can survive with split when existing zk leader is kept in majority. If existing leader is left in minority all clients will lose connection and what is believed to happen is that first joining machine will clear existing state which is a default feature.

If this indeed is a case we need to think about how that feature should behave.

jvalkeal commented 9 years ago

Jepsen tests showed that this is actually working. It looks like that originally we didn't wait long enough for zk ensemble to heal.