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 ?
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
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.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2021 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