On Fri, Mar 15, 2024 at 1:15 PM Ilya Maximets wrote:
>
> Some of the failure tests can make a single-node cluster to
> loose leadership. In this case the next raft_run() will
> trigger election with a pre-vore enabled. This is causing
s/pre-vore/pre-vote
> an assertion when this server attempt
Some of the failure tests can make a single-node cluster to
loose leadership. In this case the next raft_run() will
trigger election with a pre-vore enabled. This is causing
an assertion when this server attempts to vote for itself.
Fix that by not using pre-voting if the is only one server.
A