You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Zhenglin Tao (Jira)" <ji...@apache.org> on 2021/08/11 01:34:00 UTC

[jira] [Closed] (HAWQ-1795) Can not detect deadlock for two sessions truncate

     [ https://issues.apache.org/jira/browse/HAWQ-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenglin Tao closed HAWQ-1795.
------------------------------
    Resolution: Fixed

> Can not detect deadlock for two sessions truncate
> -------------------------------------------------
>
>                 Key: HAWQ-1795
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1795
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Core
>            Reporter: Ruilong Huo
>            Assignee: Ruilong Huo
>            Priority: Major
>             Fix For: 3.0.0.0
>
>
> ```
> CREATE TABLE TEST(A INT);
> CREATE TABLE TEST1(A INT);
> SESSION1:BEGIN;
> SESSION2:BEGIN;
> SESSION1:TRUNCATE test;
> SESSION2:TRUNCATE test1;
> SESSION1:TRUNCATE test1;
> SESSION 2: TRUNCATE test; //deadlock should be detected
> ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)