#### db_type: crdb #### #### test_type: dda_double_write_skew1 #### #### isolation: serializable #### current_result: The query result of the current SQL statement. Each row of table is separated by a space, and the fields in each row are separated by commas expected_result: The expected result is the expected query result for each SQL that conforms to the serializability theory set TXN_ISOLATION = serializable for each session ----------rat_dda_double_write_skew1 test prepare---------- Q0-T1 execute sql: 'DROP TABLE IF EXISTS t1;' Q0-T1 execute sql: 'CREATE TABLE t1 (k INT PRIMARY KEY, v INT);' Q0-T1 execute sql: 'INSERT INTO t1 VALUES (0, 0);' Q0-T1 execute sql: 'INSERT INTO t1 VALUES (1, 0);' ----------rat_dda_double_write_skew1 test run---------- Q1-T1 execute sql: 'BEGIN TRANSACTION;' Q1 finished at: 2022-4-2 16:52:35:843:731 Q2-T1 execute sql: 'UPDATE t1 SET v=1 WHERE k=0;' Q2 finished at: 2022-4-2 16:52:35:848:536 Q3-T2 execute sql: 'BEGIN TRANSACTION;' Q3 finished at: 2022-4-2 16:52:35:943:160 Q4-T2 execute sql: 'UPDATE t1 SET v=1 WHERE k=1;' Q4 finished at: 2022-4-2 16:52:35:947:281 Q5-T2 execute sql: 'SELECT * FROM t1 WHERE k=0;' Q6-T1 execute sql: 'UPDATE t1 SET v=2 WHERE k=1;' Q6 finished at: 2022-4-2 16:52:36:59:421 Q8-T1 execute sql: 'COMMIT TRANSACTION;' Q8 finished at: 2022-4-2 16:52:36:246:191 Q5 failed reason: Server error [SQL state: 40001]: restart transaction: TransactionRetryWithProtoRefreshError: TransactionAbortedError(ABORT_REASON_PUSHER_ABORTED): "sql txn" id=6dfc20ac key=/Table/297/1/1/0 rw=true pri=0.01388052 stat=ABORTED epo=0 ts=1648889555.942584994 errcode: HY000 Q5 failed at: 2022-4-2 16:52:36:576:336 Test Result: Rollback Reason: Server error [SQL state: 40001]: restart transaction: TransactionRetryWithProtoRefreshError: TransactionAbortedError(ABORT_REASON_PUSHER_ABORTED): "sql txn" id=6dfc20ac key=/Table/297/1/1/0 rw=true pri=0.01388052 stat=ABORTED epo=0 ts=1648889555.942584994