Are you absolutely sure that lock is required? I could imagine that
multiple paxos rounds could be played for different partitions and these
rounds would be dependent on each other.

Performance aside, can you please elaborate where do you see such need for
lock?
On 8 Sep 2015 00:05, "DuyHai 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 <
> marekmlewandow...@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
>
>
>

Reply via email to