Re: relation btw LWTs and RF

2020-06-26 Thread Attila Wind
Thank you! The 2nd link you sent is very very good description! I recommend for others too (who might run into this question via mail archive search later...) In my opinion it explains the entire problem space regarding how LWTs are working while also putting them into the context of

Re: relation btw LWTs and RF

2020-06-26 Thread Erick Ramirez
You are correct. Lightweight transactions perform a read-before-write [1]. The read phase is performed with a serial consistency which requires a quorum of nodes in the local DC (LOCAL_SERIAL) or across the whole cluster ( SERIAL) [2]. Quorum of 2 nodes is 2 nodes so RF=2 cannot tolerate a node

Re: relation btw LWTs and RF

2020-06-26 Thread Attila Wind
Ah yeah forgot to mention - I am using Cassandra 4.0-alpha4 Attila Wind http://www.linkedin.com/in/attilaw Mobile: +49 176 43556932 26.06.2020 08:06 keltezéssel, Attila Wind írta: Hey guys, Recently I ran into an interesting situation (by trying to add optimistic locking strategy to one

relation btw LWTs and RF

2020-06-26 Thread Attila Wind
Hey guys, Recently I ran into an interesting situation (by trying to add optimistic locking strategy to one of the tables) Which lead me eventually to the following observation. Can you confirm (or argue) this is correct when I am saying: "It is not possible to use conditional queries with