system.peers table by default returns the data of end point 127.0.0.1.Then how and where is the data about all the peers(rest of the endpoint nodes) stored at each node?
All the data about a node's peers are stored in each node's copy of the system.peers
table.
In your case, you probably are running a special situation where all nodes have listen_address
set to localhost
(127.0.0.1
) like the nodes in the DS201 VM from the DataStax Academy course. If so, you'll only be able to see 127.0.0.1
as each node's peer and it's not a true test. Cheers!
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use