I want to set consistency level to QUORUM, I am able to do this using cqlsh with using 'CONSISTENCY QUORUM'. but the problem is that that was set to only for that particular time. I don't see any property related to CONSISTENCY level in cassandra.yaml.
Is there any way to set it permanently, any configuration file?
There is no such properly in cassandra.yaml. But you can do it by appropriately setting the below line in bin/cqlsh.py
self.consistency_level = cassandra.ConsistencyLevel.QUORUM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With