question

chmeghana03_193926 avatar image
chmeghana03_193926 asked Erick Ramirez commented

What are the names of tables that store peer data?

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?

cassandraworkshop
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez commented

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!

2 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

chmeghana03_193926 avatar image chmeghana03_193926 commented ·

Thankyou! @Erick Ramirez

0 Likes 0 ·
Erick Ramirez avatar image Erick Ramirez ♦♦ chmeghana03_193926 commented ·

Not a problem. Cheers!

0 Likes 0 ·