Support Article
DNode Replication Factor
SA-28895
Summary
According to the DNode Operations Guide (attached page 11) the replication factor can be changed using this approach
Replication Factor
The replication factor is 3 (each row has its original instance, plus two replicas). To change the replication factor, run
the ALTER KEYSPACE CQL command to configure the new replica placement strategy. Assuming a cluster size of 5
or higher, the following command changes the replication factor from 3 to 5:
ALTER KEYSPACE data WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 5
};
The factor needs to be changed in the Pre-production and Production environments but we have no tool installed that would allow this technique to be sued and therefore the replication factor to be set down to 1
The question is this the only way and what is the recommended utility (NodeTool)?
Error Messages
Not Applicable
Steps to Reproduce
Not Applicable
Root Cause
Incomplete documentation.
Resolution
Use csqlsh tool available in the cassandra distribution.
Published October 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.