Hi,
I have 2 Node cluster. If any one node is down the then even the active node did not save data.
My Exiting setup
CREATE KEYSPACE xyz WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '2'} AND durable_writes = true;
Hi,
I have 2 Node cluster. If any one node is down the then even the active node did not save data.
My Exiting setup
CREATE KEYSPACE xyz WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '2'} AND durable_writes = true;
With a replication factor of 2, writes failing when one node is down indicates that you are writing with a consistency level higher than ONE
or LOCAL_ONE
(for example LOCAL_QUORUM
, QUORUM
, TWO
).
A quorum of two replicas is two (50% + 1). This means that a replication factor of 2 cannot tolerate a node outage for operations with a strong consistency.
For this reason we recommend a minimum of three nodes per DC in production so you can configure 3 replicas per DC. This configuration can tolerate a node outage and still achieve a strong consistency. Cheers!
Hello , as i know it depends on type of your write consistency, the default value is ONE and it means if during your action respective coordinator goes down then your write will fail .
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2022 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use