cassandranodetool

How to get the replication factor of C* cluster?


I cant find it in cassandra.yaml, maybe nodetool can get me the configured replication factor of my cluster?

What is the default value of the replication factor?


Solution

  • A cluster doesn't have a replication factor, however your keyspaces does.

    If you want to look at the replication factor of a given keyspace, simply execute SELECT * FROM system_schema.keyspaces; and it will print all replication information you need.