forked from orioledb/orioledb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
partition_move.out
37 lines (31 loc) · 1.2 KB
/
partition_move.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Parsed test spec with 2 sessions
starting permutation: s1_cross_update s2_value_update s1_commit s2_commit
step s1_cross_update:
UPDATE o_test SET key = key + 1 WHERE key = 1;
step s2_value_update:
UPDATE o_test SET val = val || 'xxx' WHERE key = 1;
<waiting ...>
step s1_commit: COMMIT;
step s2_value_update: <... completed>
ERROR: tuple to be locked was already moved to another partition due to concurrent update
step s2_commit: COMMIT;
starting permutation: s1_cross_update s2_key_update s1_commit s2_commit
step s1_cross_update:
UPDATE o_test SET key = key + 1 WHERE key = 1;
step s2_key_update:
UPDATE o_test SET key = 4 WHERE key = 1;
<waiting ...>
step s1_commit: COMMIT;
step s2_key_update: <... completed>
ERROR: tuple to be locked was already moved to another partition due to concurrent update
step s2_commit: COMMIT;
starting permutation: s1_cross_update s2_delete s1_commit s2_commit
step s1_cross_update:
UPDATE o_test SET key = key + 1 WHERE key = 1;
step s2_delete:
DELETE FROM o_test WHERE key = 1;
<waiting ...>
step s1_commit: COMMIT;
step s2_delete: <... completed>
ERROR: tuple to be locked was already moved to another partition due to concurrent update
step s2_commit: COMMIT;