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

singlekasi_189472 avatar image
singlekasi_189472 asked Erick Ramirez answered

Is consistency ANY valid for writes?

Regardless of RF , which read and write consistency levels guarantee strong or immediate consistency

- write ONE, read Quorum

- write QUORUM , read QUORUM

- write TWO , read TWO

- write ANY read ALL

I am thinking that READ of ALL will give strong resiliency and consistency ,but not sure if the ANY is still a valid write level . can anyone help me on this .

Thanks

consistency level
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

Yes, consistency ANY is valid for writes and only requires the coordinator to store a hint if all replicas are down for the write to be considered successful.

Although it is a valid consistency, it does not really have a practical use in production except for very limited edge cases where data is not so important.

For what it's worth, I'm on holidays and have limited mobile access so my responses are delayed. 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.