Re: [EXTERNAL] Re: Getting Consistency level TWO when it is requested LOCAL_ONE

2019-04-12 Thread Jean Carlo
batch is really needed >> for the statements. Cassandra batches are for atomicity – not speed. >> >> >> >> Sean Durity >> >> Staff Systems Engineer – Cassandra >> >> MTC 2250 >> >> #cassandra - for the latest news and updates >> >&g

Re: [EXTERNAL] Re: Getting Consistency level TWO when it is requested LOCAL_ONE

2019-04-12 Thread Jean Carlo
gineer – Cassandra > > MTC 2250 > > #cassandra - for the latest news and updates > > > > > > *From:* Mahesh Daksha > *Sent:* Thursday, April 11, 2019 5:21 AM > *To:* user@cassandra.apache.org > *Subject:* [EXTERNAL] Re: Getting Consistency level TWO w

RE: [EXTERNAL] Re: Getting Consistency level TWO when it is requested LOCAL_ONE

2019-04-11 Thread Durity, Sean R
: [EXTERNAL] Re: Getting Consistency level TWO when it is requested LOCAL_ONE Hi Jean, I want to understand how you are setting the write consistency level as LOCAL ONE. That is with every query you mentioning consistency level or you have set the spring cassandra config with provided

Re: Getting Consistency level TWO when it is requested LOCAL_ONE

2019-04-11 Thread Mahesh Daksha
Hi Jean, I want to understand how you are setting the write consistency level as LOCAL ONE. That is with every query you mentioning consistency level or you have set the spring cassandra config with provided consistency level. Like this: cluster.setQueryOptions(new QueryOptions().setConsistencyLev

Getting Consistency level TWO when it is requested LOCAL_ONE

2019-04-11 Thread Jean Carlo
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