mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix test 01172_transaction_counters
This commit is contained in:
parent
0b1887eb65
commit
6016dc96aa
1
programs/server/config.d/transactions.xml
Symbolic link
1
programs/server/config.d/transactions.xml
Symbolic link
@ -0,0 +1 @@
|
||||
../../../tests/config/config.d/transactions.xml
|
@ -16,25 +16,25 @@
|
||||
7 all_3_3_0 (0,0,'00000000-0000-0000-0000-000000000000') 0
|
||||
7 all_4_4_0 (0,0,'00000000-0000-0000-0000-000000000000') 0
|
||||
8 1
|
||||
1 1 AddPart 1 1 1 1 all_1_1_0
|
||||
2 1 Begin 1 1 1 1
|
||||
2 1 AddPart 1 1 1 1 all_2_2_0
|
||||
2 1 Rollback 1 1 1 1
|
||||
3 1 Begin 1 1 1 1
|
||||
3 1 AddPart 1 1 1 1 all_3_3_0
|
||||
3 1 Commit 1 1 1 0
|
||||
1 1 LockPart 1 1 1 1 all_2_2_0
|
||||
4 1 Begin 1 1 1 1
|
||||
4 1 AddPart 1 1 1 1 all_4_4_0
|
||||
4 1 Commit 1 1 1 0
|
||||
5 1 Begin 1 1 1 1
|
||||
5 1 AddPart 1 1 1 1 all_5_5_0
|
||||
5 1 LockPart 1 1 1 1 all_1_1_0
|
||||
5 1 LockPart 1 1 1 1 all_3_3_0
|
||||
5 1 LockPart 1 1 1 1 all_4_4_0
|
||||
5 1 LockPart 1 1 1 1 all_5_5_0
|
||||
5 1 UnlockPart 1 1 1 1 all_1_1_0
|
||||
5 1 UnlockPart 1 1 1 1 all_3_3_0
|
||||
5 1 UnlockPart 1 1 1 1 all_4_4_0
|
||||
5 1 UnlockPart 1 1 1 1 all_5_5_0
|
||||
5 1 Rollback 1 1 1 1
|
||||
1 AddPart 1 1 1 1 all_1_1_0
|
||||
2 Begin 1 1 1 1
|
||||
2 AddPart 1 1 1 1 all_2_2_0
|
||||
2 Rollback 1 1 1 1
|
||||
3 Begin 1 1 1 1
|
||||
3 AddPart 1 1 1 1 all_3_3_0
|
||||
3 Commit 1 1 1 0
|
||||
1 LockPart 1 1 1 1 all_2_2_0
|
||||
4 Begin 1 1 1 1
|
||||
4 AddPart 1 1 1 1 all_4_4_0
|
||||
4 Commit 1 1 1 0
|
||||
5 Begin 1 1 1 1
|
||||
5 AddPart 1 1 1 1 all_5_5_0
|
||||
5 LockPart 1 1 1 1 all_1_1_0
|
||||
5 LockPart 1 1 1 1 all_3_3_0
|
||||
5 LockPart 1 1 1 1 all_4_4_0
|
||||
5 LockPart 1 1 1 1 all_5_5_0
|
||||
5 UnlockPart 1 1 1 1 all_1_1_0
|
||||
5 UnlockPart 1 1 1 1 all_3_3_0
|
||||
5 UnlockPart 1 1 1 1 all_4_4_0
|
||||
5 UnlockPart 1 1 1 1 all_5_5_0
|
||||
5 Rollback 1 1 1 1
|
||||
|
@ -42,7 +42,6 @@ rollback;
|
||||
|
||||
system flush logs;
|
||||
select indexOf((select arraySort(groupUniqArray(tid)) from system.transactions_info_log where database=currentDatabase() and table='txn_counters'), tid),
|
||||
(toDecimal64(now64(6), 6) - toDecimal64(event_time, 6)) < 100,
|
||||
type,
|
||||
thread_id!=0,
|
||||
length(query_id)=length(queryID()) or type='Commit' and query_id='', -- ignore fault injection after commit
|
||||
|
Loading…
Reference in New Issue
Block a user