You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kudu.apache.org by "Ray Liu (rayliu)" <ra...@cisco.com> on 2020/04/13 10:22:27 UTC

Will multiple transactions write to Kudu concurrently cause deadlock in Kudu?

I’ve read the Kudu documents about Kudu transaction semantics, but I still got one question.
https://kudu.apache.org/docs/transaction_semantics.html#_single_tablet_write_operations


For example, I have a use case described like this document.
https://www.postgresql.org/docs/current/explicit-locking.html#LOCKING-DEADLOCKS


Will I encounter deadlock in Kudu?

Re: Will multiple transactions write to Kudu concurrently cause deadlock in Kudu?

Posted by Alexey Serbin <as...@cloudera.com>.
At this point, Kudu doesn't support multi-row transactions, so I'm not sure
how deadlock is possible.

On Mon, Apr 13, 2020 at 3:29 AM Ray Liu (rayliu) <ra...@cisco.com> wrote:

> Just found this ticket which answers my question.
>
> https://issues.apache.org/jira/browse/KUDU-47
>
>
>
> I’ll try it out anyways.
>
>
>
> *From: *"Ray Liu (rayliu)" <ra...@cisco.com>
> *Reply-To: *"user@kudu.apache.org" <us...@kudu.apache.org>
> *Date: *Monday, April 13, 2020 at 18:22
> *To: *"user@kudu.apache.org" <us...@kudu.apache.org>
> *Subject: *Will multiple transactions write to Kudu concurrently cause
> deadlock in Kudu?
>
>
>
> I’ve read the Kudu documents about Kudu transaction semantics, but I still
> got one question.
>
>
> https://kudu.apache.org/docs/transaction_semantics.html#_single_tablet_write_operations
>
>
>
>
>
> For example, I have a use case described like this document.
>
>
> https://www.postgresql.org/docs/current/explicit-locking.html#LOCKING-DEADLOCKS
>
>
>
>
>
> Will I encounter deadlock in Kudu?
>

Re: Will multiple transactions write to Kudu concurrently cause deadlock in Kudu?

Posted by "Ray Liu (rayliu)" <ra...@cisco.com>.
Just found this ticket which answers my question.
https://issues.apache.org/jira/browse/KUDU-47

I’ll try it out anyways.

From: "Ray Liu (rayliu)" <ra...@cisco.com>
Reply-To: "user@kudu.apache.org" <us...@kudu.apache.org>
Date: Monday, April 13, 2020 at 18:22
To: "user@kudu.apache.org" <us...@kudu.apache.org>
Subject: Will multiple transactions write to Kudu concurrently cause deadlock in Kudu?

I’ve read the Kudu documents about Kudu transaction semantics, but I still got one question.
https://kudu.apache.org/docs/transaction_semantics.html#_single_tablet_write_operations


For example, I have a use case described like this document.
https://www.postgresql.org/docs/current/explicit-locking.html#LOCKING-DEADLOCKS


Will I encounter deadlock in Kudu?