2 min to complete
Scylla, like Apache Cassandra, uses a type of internode communication protocol called Gossip, for nodes to exchange information with each other. Gossip is decentralized, and there is no single point of failure. It’s used for peer node discovery and metadata propagation. Gossip communication occurs periodically. Each node communicates with three other nodes.
Eventually (within a few seconds), the information is propagated throughout the cluster.
To see whether a node is communicating using Gossip, we use the statusgossip command:
docker exec -it Node_Z nodetool statusgossip
We can see that Node_Z is communicating with other nodes. This communication is on by default unless it has been turned off, for example, for maintenance.
To see what a node is communicating to the other nodes in the cluster, we use the gossipinfo command:
docker exec -it Node_Z nodetool gossipinfo