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;
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
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.
How do I insert a jpeg into a blob? Is there an imageAsBlob() conversion?
Is there a tool available to migrate from MongoDB to Cassandra?
Is there a CQL data type equivalent to Enum?
What is the rule for the use of ALLOW FILTERING?
Running Cassandra in an Ubuntu VM, service exits after a few minutes of operation
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