How to change cassandra replication factor?

Hi, 

There are currently 6 Cassandra nodes in Apigee installed on-premises.

we understood that if n/2 + 1 nodes were normal, it should be serviced normally.

But when 2 out of 6 nodes are stopped, data such as API information cannot be loaded from edge ui,
or even if data is loaded, an error message is displayed.

Perhaps the error message occurs because Cassandra's replication factor value is set to 3 by default.

Is there a way to change the replication factor value to 6?

Even if I search, I can only find a way to access CQL and change keyspaces one by one. Is there a simple way to set it in the cassandra.properties file?

The OPDK version is 4.51.00.

0 1 372
1 REPLY 1

typically you can lose 1 cassandra on each DC (they are in local quorums) and 2 in each DC must work. playing with the repl factor not supported, as from the docs: 

NOTE

Apigee does not support changing the replication factor because it:

  • May or may not increase overall availability when more than one node fails
  • Might result in adverse effects on the overall ecosystem with increased latencies

 

https://docs.apigee.com/private-cloud/v4.51.00/about-cassandra-replication-factor-and-consistency-le...

 

You can try to re-design and work with racks or add more nodes