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

 

question

irisha_mur_186571 avatar image
irisha_mur_186571 asked ·

CAS exceptions after driver migration

We have some LWTs that worked well before we migrated to the latest version of the driver 4.9.0. After it, we started to see lots of messages about timeouts during CAS operations. Timeout on the CAS operation is configured and this happening earlier then timeout could be exceed.

Moreover, we followed this issue https://issues.apache.org/jira/browse/CASSANDRA-9328 and we're doing serial read after unsuccessful write, but we have an empty record at the end.

Could you give a hint if driver migration could be the issue of this problem?

java driverlightweight transactions
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

With the limited amount of information on the problem, it's hard to say whether this is related to the driver migration.

If you're able to provide a sample code that would replicate the issue including the table schema and LWT queries you're running, we can review them for clues. The full driver errors plus full stack trace would also be valuable. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.