New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Cassandra lightweight transactions (LWT) #1359

Open
tzach opened this Issue Jun 16, 2016 · 12 comments

Comments

@tzach
Contributor

tzach commented Jun 16, 2016

Lightweight transactions (LWT), aka compare and set transactions, ensure transaction isolation beyond eventual consistency. LWT are useful in cases where two or more clients needs to create the same entity, resulting in one, and only one, entity.

https://docs.datastax.com/en/cassandra/2.1/cassandra/dml/dml_ltwt_transaction_c.html

@tzach tzach added this to the 1.4 milestone Jul 21, 2016

@tzach tzach modified the milestones: 2.0, 1.4 Aug 31, 2016

@bobbymicroby

This comment has been minimized.

Show comment
Hide comment
@bobbymicroby

bobbymicroby Nov 5, 2016

Hi @tzach , Do you think there are any chances this is coming before 2.0 ?

bobbymicroby commented Nov 5, 2016

Hi @tzach , Do you think there are any chances this is coming before 2.0 ?

@npenkov

This comment has been minimized.

Show comment
Hide comment
@npenkov

npenkov commented Nov 10, 2016

+1

@kant111

This comment has been minimized.

Show comment
Hide comment
@kant111

kant111 Mar 2, 2017

https://issues.apache.org/jira/browse/CASSANDRA-6246 . I hope ScyllaDB implements this or better!

kant111 commented Mar 2, 2017

https://issues.apache.org/jira/browse/CASSANDRA-6246 . I hope ScyllaDB implements this or better!

@tzach

This comment has been minimized.

Show comment
Hide comment
@tzach

tzach Mar 23, 2017

Contributor

C* 3.6 added CAS info to Nodetool proxyhistograms
https://issues.apache.org/jira/browse/CASSANDRA-11507

Contributor

tzach commented Mar 23, 2017

C* 3.6 added CAS info to Nodetool proxyhistograms
https://issues.apache.org/jira/browse/CASSANDRA-11507

@p2k

This comment has been minimized.

Show comment
Hide comment
@p2k

p2k May 16, 2017

I'd literally do anything to get this one working. If you could tell me how to start and in which direction you'd like this to go, I'd give my programming skills a try. It might take me weeks or months, but I want this so much I don't care ❤️

p2k commented May 16, 2017

I'd literally do anything to get this one working. If you could tell me how to start and in which direction you'd like this to go, I'd give my programming skills a try. It might take me weeks or months, but I want this so much I don't care ❤️

@ssboisen

This comment has been minimized.

Show comment
Hide comment
@ssboisen

ssboisen Aug 2, 2017

Any update on the progress on this issue? I just saw your progress on materialized views preview in 2.0, are we lucky enough to be getting LWT too? 😏

ssboisen commented Aug 2, 2017

Any update on the progress on this issue? I just saw your progress on materialized views preview in 2.0, are we lucky enough to be getting LWT too? 😏

@tzach

This comment has been minimized.

Show comment
Hide comment
@tzach

tzach Aug 2, 2017

Contributor

@ssboisen not in 2.0, we plan to have experimental LWT at 2.3

Contributor

tzach commented Aug 2, 2017

@ssboisen not in 2.0, we plan to have experimental LWT at 2.3

@ssboisen

This comment has been minimized.

Show comment
Hide comment
@ssboisen

ssboisen Aug 3, 2017

@tzach alright, thank you for replying :-) I'm very much looking forward to that, at Lix our datamodel rely heavily on LWTs as we use an event based architecture were we use cassandra to guarantee consistency of total order of the events inside a partition so we can't move to scylla before LWTs :)

ssboisen commented Aug 3, 2017

@tzach alright, thank you for replying :-) I'm very much looking forward to that, at Lix our datamodel rely heavily on LWTs as we use an event based architecture were we use cassandra to guarantee consistency of total order of the events inside a partition so we can't move to scylla before LWTs :)

@dnrusakov

This comment has been minimized.

Show comment
Hide comment
@dnrusakov

dnrusakov commented Jan 21, 2018

+1

@duarten duarten self-assigned this Mar 24, 2018

@duarten duarten added the consensus label Mar 24, 2018

@slivne slivne added the lwt label Apr 16, 2018

brawnski pushed a commit to brawnski/xandra that referenced this issue Jun 12, 2018

Brawnski Armstrong
Fix for ScyllaDB compatibility
* Taken from https://github.com/zmagajna/xandra/tree/scylladb
  What were once custom types are in CQL v4
* LWT are unsupported in ScyllaDB versions prior to 2.3 (at least)
  scylladb/scylla#1359
@mrusme

This comment has been minimized.

Show comment
Hide comment
@mrusme

mrusme Aug 13, 2018

Contributor

Is this available in 2.3-rc1 as an experimental feature? Apparently @Kong relies on this feature for a couple of things and does not work without it.

Contributor

mrusme commented Aug 13, 2018

Is this available in 2.3-rc1 as an experimental feature? Apparently @Kong relies on this feature for a couple of things and does not work without it.

@duarten

This comment has been minimized.

Show comment
Hide comment
@duarten

duarten Aug 13, 2018

Member

It is not, the feature is still in the design stage.

Member

duarten commented Aug 13, 2018

It is not, the feature is still in the design stage.

@guodaxia103

This comment has been minimized.

Show comment
Hide comment
@guodaxia103

guodaxia103 Sep 17, 2018

Looking forward to this feature

guodaxia103 commented Sep 17, 2018

Looking forward to this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment