cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean Carlo <>
Subject Getting Consistency level TWO when it is requested LOCAL_ONE
Date Thu, 11 Apr 2019 08:12:53 GMT
Hello everyone,

I have a case where the developers are using spring data framework for
Cassandra. We are writing batches setting consistency level at LOCAL_ONE
but we got a timeout like this

*Caused by: com.datastax.driver.core.exceptions.WriteTimeoutException:
Cassandra timeout during BATCH_LOG write query at consistency TWO (2
replica were required but only 1 acknowledged the write)*

Is it Cassandra that somehow writes to the *system.batchlog* using
consistency TWO or is it spring data that makes some dirty things behind
the scenes ?
(I want to believe it is the second one)


Jean Carlo

"The best way to predict the future is to invent it" Alan Kay

View raw message