cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DuyHai Doan <doanduy...@gmail.com>
Subject Re: Some love for multi-partition LWT?
Date Mon, 07 Sep 2015 22:04:56 GMT
Multi partitions LWT is not supported currently on purpose. To support it,
we would have to emulate a distributed lock which is pretty bad for
performance.

On Mon, Sep 7, 2015 at 10:38 PM, Marek Lewandowski <
marekmlewandowski@gmail.com> wrote:

> Hello there,
>
> would you be interested in having multi-partition support for lightweight
> transactions in order words to have ability to express something like:
>
> INSERT INTO … IF NOT EXISTS AND
> UPDATE … IF EXISTS AND
> UPDATE … IF colX = ‘xyz’
>
> where each statement refers to a row living potentially on different set
> of nodes.
> In yet another words: imagine batch with conditions, but which allows to
> specify multiple statements with conditions for rows in different
> partitions.
>
> Do you find it very useful, moderately useful or you don’t need that
> because you have some superb business logic handling of such cases for
> example?
>
> Let me know.
> Regards,
> Marek

Mime
View raw message