Why is a minimum of three nodes recommended

Hi

Why is a minimum of three nodes recommended

I’m using Docker to distribute two nodes to two servers and a single cluster

I wanted to adjust the number of nodes to suit the server environment, but you can’t find each node when a specific node died.

When I looked up the document, I found that it recommended 3 nodes, but I didn’t find why.
(I understand that scylladb uses the Gossip protocol instead of the raft algorithm.

Is there a reason why nodes should be odd in Gossip protocol?

As far as I understand the document, I know that each node is equal to the raft algorithm.)

Is the issue of nodes not being able to connect to each other after they die because they are made up of two nodes?

TL;DR
A Replication Factor (RF) of 3 is recommended, so the Quorum’s Consistency Level(CL) will work even if one node is down. To have a RF of 3 you need at least 3 nodes.

1 Like