I am looking for summary on cassandra batch . I am aware that in multi partition batch lightweight transactions can not be applied . In similar way what are other cases when batch operation might be failed ?
I am looking for summary on cassandra batch . I am aware that in multi partition batch lightweight transactions can not be applied . In similar way what are other cases when batch operation might be failed ?
The only time a CQL BATCH
fails is when the coordinator does not get an acknowledgement that the write to the batch log is successful on 2 randomly picked nodes. In this case, the statements in the BATCH do not get applied and a failed exception is returned to the client.
In the case where a conditional statement is included in the BATCH
, the entire batch does not get applied if the conditional statement does not equate to true
. Cheers!
6 People are following this question.
Spring boot CassandraBatchOperations batch size handling
Execute multiple queries & Write Info to a File
How does data stay consistent if a batch fails midway through?
Are BATCH statements the preferred way of doing bulk operations in Cassandra?
What is the difference between "BatchStatement" and "BatchQuery" in C*?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 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