scalar-labs / scalar-jepsen

Jepsen tests for ScalarDB and ScalarDL
45 stars 6 forks source link

fix C* nemesis teardown #69

Closed yito88 closed 2 years ago

yito88 commented 2 years ago

Issue

Some Cassandra nodes could fail to restart when the nemesis teardown (just before getting the last state)

Cause

A non-seed node fails to find a seed node when all nodes crash

Fix

The nemesis teardown reorders the list of Cassandra nodes to start with a seed node same as the nemesis stop