|
| 1 | +Parsed test spec with 2 sessions |
| 2 | + |
| 3 | +starting permutation: beginrr1 beginrr2 donothing1 c1 donothing2 c2 show |
| 4 | +step beginrr1: BEGIN ISOLATION LEVEL REPEATABLE READ; |
| 5 | +step beginrr2: BEGIN ISOLATION LEVEL REPEATABLE READ; |
| 6 | +step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; |
| 7 | +step c1: COMMIT; |
| 8 | +step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; |
| 9 | +step c2: COMMIT; |
| 10 | +step show: SELECT * FROM ints; |
| 11 | +key val |
| 12 | + |
| 13 | +1 donothing1 |
| 14 | + |
| 15 | +starting permutation: beginrr1 beginrr2 donothing2 c2 donothing1 c1 show |
| 16 | +step beginrr1: BEGIN ISOLATION LEVEL REPEATABLE READ; |
| 17 | +step beginrr2: BEGIN ISOLATION LEVEL REPEATABLE READ; |
| 18 | +step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; |
| 19 | +step c2: COMMIT; |
| 20 | +step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; |
| 21 | +step c1: COMMIT; |
| 22 | +step show: SELECT * FROM ints; |
| 23 | +key val |
| 24 | + |
| 25 | +1 donothing2 |
| 26 | + |
| 27 | +starting permutation: beginrr1 beginrr2 donothing1 donothing2 c1 c2 show |
| 28 | +step beginrr1: BEGIN ISOLATION LEVEL REPEATABLE READ; |
| 29 | +step beginrr2: BEGIN ISOLATION LEVEL REPEATABLE READ; |
| 30 | +step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; |
| 31 | +step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; <waiting ...> |
| 32 | +step c1: COMMIT; |
| 33 | +step donothing2: <... completed> |
| 34 | +error in steps c1 donothing2: ERROR: could not serialize access due to concurrent update |
| 35 | +step c2: COMMIT; |
| 36 | +step show: SELECT * FROM ints; |
| 37 | +key val |
| 38 | + |
| 39 | +1 donothing1 |
| 40 | + |
| 41 | +starting permutation: beginrr1 beginrr2 donothing2 donothing1 c2 c1 show |
| 42 | +step beginrr1: BEGIN ISOLATION LEVEL REPEATABLE READ; |
| 43 | +step beginrr2: BEGIN ISOLATION LEVEL REPEATABLE READ; |
| 44 | +step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; |
| 45 | +step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; <waiting ...> |
| 46 | +step c2: COMMIT; |
| 47 | +step donothing1: <... completed> |
| 48 | +error in steps c2 donothing1: ERROR: could not serialize access due to concurrent update |
| 49 | +step c1: COMMIT; |
| 50 | +step show: SELECT * FROM ints; |
| 51 | +key val |
| 52 | + |
| 53 | +1 donothing2 |
| 54 | + |
| 55 | +starting permutation: begins1 begins2 donothing1 c1 donothing2 c2 show |
| 56 | +step begins1: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 57 | +step begins2: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 58 | +step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; |
| 59 | +step c1: COMMIT; |
| 60 | +step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; |
| 61 | +step c2: COMMIT; |
| 62 | +step show: SELECT * FROM ints; |
| 63 | +key val |
| 64 | + |
| 65 | +1 donothing1 |
| 66 | + |
| 67 | +starting permutation: begins1 begins2 donothing2 c2 donothing1 c1 show |
| 68 | +step begins1: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 69 | +step begins2: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 70 | +step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; |
| 71 | +step c2: COMMIT; |
| 72 | +step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; |
| 73 | +step c1: COMMIT; |
| 74 | +step show: SELECT * FROM ints; |
| 75 | +key val |
| 76 | + |
| 77 | +1 donothing2 |
| 78 | + |
| 79 | +starting permutation: begins1 begins2 donothing1 donothing2 c1 c2 show |
| 80 | +step begins1: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 81 | +step begins2: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 82 | +step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; |
| 83 | +step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; <waiting ...> |
| 84 | +step c1: COMMIT; |
| 85 | +step donothing2: <... completed> |
| 86 | +error in steps c1 donothing2: ERROR: could not serialize access due to concurrent update |
| 87 | +step c2: COMMIT; |
| 88 | +step show: SELECT * FROM ints; |
| 89 | +key val |
| 90 | + |
| 91 | +1 donothing1 |
| 92 | + |
| 93 | +starting permutation: begins1 begins2 donothing2 donothing1 c2 c1 show |
| 94 | +step begins1: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 95 | +step begins2: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 96 | +step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; |
| 97 | +step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; <waiting ...> |
| 98 | +step c2: COMMIT; |
| 99 | +step donothing1: <... completed> |
| 100 | +error in steps c2 donothing1: ERROR: could not serialize access due to concurrent update |
| 101 | +step c1: COMMIT; |
| 102 | +step show: SELECT * FROM ints; |
| 103 | +key val |
| 104 | + |
| 105 | +1 donothing2 |
0 commit comments