tuhaihe commented on PR #1506:
URL: https://github.com/apache/cloudberry/pull/1506#issuecomment-3712844705

   Some tests failed. Maybe we need to update the related output files. FYI.
   
   ```
   diff -I HINT: -I CONTEXT: -I GP_IGNORE: -U3 
/__w/cloudberry/cloudberry/src/test/isolation2/expected/concurrent_partition_table_operations_should_not_deadlock.out
 
/__w/cloudberry/cloudberry/src/test/isolation2/results/concurrent_partition_table_operations_should_not_deadlock.out
   --- 
/__w/cloudberry/cloudberry/src/test/isolation2/expected/concurrent_partition_table_operations_should_not_deadlock.out
    2026-01-05 02:53:30.001712108 -0800
   +++ 
/__w/cloudberry/cloudberry/src/test/isolation2/results/concurrent_partition_table_operations_should_not_deadlock.out
     2026-01-05 02:53:30.008712151 -0800
   @@ -1,6 +1,6 @@
    GP_IGNORE: formatted by atmsort.pm
    CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
   -CREATE EXTENSION
   +CREATE
    
    
    -- Two concurrent transactions on partitioned table
   @@ -8,9 +8,9 @@
    --    2) truncate
    -- should not cause deadlock
    CREATE TABLE pt(a int, b text) DISTRIBUTED BY (a) PARTITION BY range(a) 
(start (0) end(10) every(2));
   -CREATE TABLE
   +CREATE
    INSERT INTO pt SELECT i%10, 'text'||i FROM generate_series(1, 10)i;
   -INSERT 0 10
   +INSERT 10
    VACUUM ANALYZE pt;
    VACUUM
    
   @@ -19,9 +19,9 @@
    ___________
     Gather Motion 3:1  (slice1; segments: 3) 
       ->  Append                             
   -         ->  Seq Scan on pt_1_prt_1       
   +         ->  Seq Scan on pt_1_prt_1 pt_1  
                   Filter: (a < 4)            
   -         ->  Seq Scan on pt_1_prt_2       
   +         ->  Seq Scan on pt_1_prt_2 pt_2  
                   Filter: (a < 4)            
    GP_IGNORE:(7 rows)
    -- [ORCA] Fetch stats outside transaction so that we skip locking inside 
the transaction due to fetching stats.
   @@ -75,9 +75,9 @@
     3 | text3  
    (4 rows)
    1: END;
   -COMMIT
   +END
    2<:  <... completed>
   -TRUNCATE TABLE
   +TRUNCATE
    
    
    -- Two concurrent transactions on partitioned table
   @@ -85,7 +85,7 @@
    --    2) truncate
    -- should not cause deadlock
    CREATE INDEX idx ON pt(a);
   -CREATE INDEX
   +CREATE
    VACUUM ANALYZE pt;
    VACUUM
    
   @@ -94,9 +94,9 @@
    ___________
     Gather Motion 3:1  (slice1; segments: 3) 
       ->  Append                             
   -         ->  Seq Scan on pt_1_prt_1       
   +         ->  Seq Scan on pt_1_prt_1 pt_1  
                   Filter: (a < 4)            
   -         ->  Seq Scan on pt_1_prt_2       
   +         ->  Seq Scan on pt_1_prt_2 pt_2  
                   Filter: (a < 4)            
    GP_IGNORE:(7 rows)
    -- [ORCA] Fetch stats outside transaction so that we skip locking inside 
the transaction due to fetching stats.
   @@ -146,9 +146,9 @@
     3 | text3 
    (2 rows)
    1: END;
   -COMMIT
   +END
    2<:  <... completed>
   -TRUNCATE TABLE
   +TRUNCATE
    
    
    -- Two concurrent transactions on partitioned table
   @@ -163,9 +163,9 @@
    ___________
     Gather Motion 3:1  (slice1; segments: 3) 
       ->  Append                             
   -         ->  Seq Scan on pt_1_prt_1       
   +         ->  Seq Scan on pt_1_prt_1 pt_1  
                   Filter: (a < 4)            
   -         ->  Seq Scan on pt_1_prt_2       
   +         ->  Seq Scan on pt_1_prt_2 pt_2  
                   Filter: (a < 4)            
    GP_IGNORE:(7 rows)
    -- [ORCA] Fetch stats outside transaction so that we skip locking inside 
the transaction due to fetching stats.
   @@ -215,6 +215,6 @@
     3 
    (2 rows)
    1: END;
   -COMMIT
   +END
    2<:  <... completed>
   -TRUNCATE TABLE
   +TRUNCATE
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to