Re: Some love for multi-partition LWT?

2015-09-08 Thread Marek Lewandowski
Doan" <doanduy...@gmail.com> wrote: > 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 < > marekmlew

Re: Some love for multi-partition LWT?

2015-09-08 Thread Marek Lewandowski
re safety in this case is to forbid > any Paxos round on N1 ... N6 as long as the current rounds are not finished > yet, and this is exactly what a distributed lock does. > > > > > > > > > > On Tue, Sep 8, 2015 at 8:15 AM, Marek Lewandowski < > marekmlewan

Some love for multi-partition LWT?

2015-09-07 Thread Marek Lewandowski
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