Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1795

Can not detect deadlock for two sessions truncate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0.0
    • Core
    • None

    Description

      ```
      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
      ```

      Attachments

        Activity

          People

            huor Ruilong Huo
            huor Ruilong Huo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: