cassandra-client-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <>
Subject Re: Node discovery/status
Date Thu, 29 Aug 2013 12:14:56 GMT
> I'm writing a client for the CQL binary protocol.  Is there a way to
> connect to a single node, then ask it for all the other nodes in the
> cluster?

Yes, though it's not so much part of the binary protocol than of CQL.
That is, you can query the peers system tables to get basically
what the node knows about the other nodes.

> On a somewhat related note, what is the difference between the
> kind of imply the other?

The topology_change events are for when the node join (as in is
bootstrapped) or leave (as in is
decommissioned) the cluster. The DOWN (resp. UP) event is send every time a
node is detected
as down (resp. up) by the cluster. The topology change events pretty much
imply the corresponding
status changes ones (a node that just joined is UP and one that has been
decommissioned should
be considered DOWN).


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message