Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

nodetool statusgossip

Displays the status of the gossip protocol.


Terminal window
nodetool [connection_options] statusgossip

See connection options for connection options.

nodetool statusgossip shows whether the gossip protocol is running on this node. Gossip is the peer-to-peer protocol Cassandra uses for cluster membership and failure detection.


running

Gossip is active. The node is communicating with other cluster members.

not running

Gossip is disabled. The node is isolated from the cluster.


Terminal window
nodetool statusgossip
Terminal window
if [ "$(nodetool statusgossip)" = "running" ]; then
echo "Node is participating in cluster"
else
echo "Node is isolated"
fi

Gossip handles:

  • Cluster membership: Who is in the cluster
  • Failure detection: Which nodes are alive/dead
  • Schema changes: Propagating DDL changes
  • State sharing: Sharing node metadata

Terminal window
nodetool statusgossip
Terminal window
# Check current state
nodetool statusgossip
# Disable gossip (isolates node)
nodetool disablegossip
# Perform maintenance...
# Re-enable gossip
nodetool enablegossip
# Verify
nodetool statusgossip
#!/bin/bash
GOSSIP=$(nodetool statusgossip)
BINARY=$(nodetool statusbinary)
if [ "$GOSSIP" = "running" ]; then
echo "Gossip: OK"
else
echo "WARNING: Gossip disabled - node is isolated!"
fi
if [ "$BINARY" = "running" ]; then
echo "Binary: OK"
else
echo "WARNING: CQL disabled - no client connections!"
fi

Isolated Node

When gossip is disabled:

  • Node cannot detect other nodes
  • Other nodes may mark this node as DOWN
  • Schema changes won't propagate
  • The node is effectively isolated

For certain maintenance operations:

Terminal window
# Isolate node temporarily
nodetool disablegossip
# Do maintenance...
# Rejoin cluster
nodetool enablegossip

Gossip should automatically start. If not:

  1. Check logs for errors
  2. Verify seed nodes configuration
  3. Check network connectivity
Terminal window
# Check logs
grep -i gossip /var/log/cassandra/system.log | tail -20

StatusGossipBinaryNode State
NormalrunningrunningFully operational
Maintenancerunningnot runningIn cluster but not serving clients
Isolatednot running-Not participating in cluster
Startingrunningnot runningStill initializing

CommandRelationship
enablegossipEnable gossip
disablegossipDisable gossip
gossipinfoDetailed gossip state
statusbinaryCQL transport status
statusCluster overview