| 1 |
Parsed test spec with 2 sessions |
| 2 |
|
| 3 |
starting permutation: s1_begin s2_begin s1_refresh s2_read s2_insert s1_commit s2_commit |
| 4 |
step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 5 |
step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 6 |
step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; |
| 7 |
step s2_read: SELECT max(date) FROM order_summary; |
| 8 |
max |
| 9 |
---------- |
| 10 |
04-01-2022 |
| 11 |
(1 row) |
| 12 |
|
| 13 |
step s2_insert: INSERT INTO orders VALUES ('2022-04-02', 'orange', 15); |
| 14 |
step s1_commit: COMMIT; |
| 15 |
step s2_commit: COMMIT; |
| 16 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 17 |
|
| 18 |
starting permutation: s1_begin s2_begin s1_refresh s2_read s2_update s1_commit s2_commit |
| 19 |
step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 20 |
step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 21 |
step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; |
| 22 |
step s2_read: SELECT max(date) FROM order_summary; |
| 23 |
max |
| 24 |
---------- |
| 25 |
04-01-2022 |
| 26 |
(1 row) |
| 27 |
|
| 28 |
step s2_update: UPDATE orders SET num = num + 1; |
| 29 |
step s1_commit: COMMIT; |
| 30 |
step s2_commit: COMMIT; |
| 31 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 32 |
|
| 33 |
starting permutation: s1_begin s2_begin s2_read s1_refresh s2_insert s1_commit s2_commit |
| 34 |
step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 35 |
step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 36 |
step s2_read: SELECT max(date) FROM order_summary; |
| 37 |
max |
| 38 |
---------- |
| 39 |
04-01-2022 |
| 40 |
(1 row) |
| 41 |
|
| 42 |
step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; |
| 43 |
step s2_insert: INSERT INTO orders VALUES ('2022-04-02', 'orange', 15); |
| 44 |
step s1_commit: COMMIT; |
| 45 |
step s2_commit: COMMIT; |
| 46 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 47 |
|
| 48 |
starting permutation: s1_begin s2_begin s2_read s1_refresh s2_update s1_commit s2_commit |
| 49 |
step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 50 |
step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 51 |
step s2_read: SELECT max(date) FROM order_summary; |
| 52 |
max |
| 53 |
---------- |
| 54 |
04-01-2022 |
| 55 |
(1 row) |
| 56 |
|
| 57 |
step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; |
| 58 |
step s2_update: UPDATE orders SET num = num + 1; |
| 59 |
step s1_commit: COMMIT; |
| 60 |
step s2_commit: COMMIT; |
| 61 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 62 |
|
| 63 |
starting permutation: s1_begin s2_begin s2_read s2_insert s1_refresh s1_commit s2_commit |
| 64 |
step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 65 |
step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 66 |
step s2_read: SELECT max(date) FROM order_summary; |
| 67 |
max |
| 68 |
---------- |
| 69 |
04-01-2022 |
| 70 |
(1 row) |
| 71 |
|
| 72 |
step s2_insert: INSERT INTO orders VALUES ('2022-04-02', 'orange', 15); |
| 73 |
step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; |
| 74 |
step s1_commit: COMMIT; |
| 75 |
step s2_commit: COMMIT; |
| 76 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 77 |
|
| 78 |
starting permutation: s1_begin s2_begin s2_read s2_update s1_refresh s1_commit s2_commit |
| 79 |
step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 80 |
step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 81 |
step s2_read: SELECT max(date) FROM order_summary; |
| 82 |
max |
| 83 |
---------- |
| 84 |
04-01-2022 |
| 85 |
(1 row) |
| 86 |
|
| 87 |
step s2_update: UPDATE orders SET num = num + 1; |
| 88 |
step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; |
| 89 |
step s1_commit: COMMIT; |
| 90 |
step s2_commit: COMMIT; |
| 91 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 92 |
|
| 93 |
starting permutation: s1_begin s2_begin s1_refresh s2_insert s2_read s1_commit s2_commit |
| 94 |
step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 95 |
step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 96 |
step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; |
| 97 |
step s2_insert: INSERT INTO orders VALUES ('2022-04-02', 'orange', 15); |
| 98 |
step s2_read: SELECT max(date) FROM order_summary; |
| 99 |
max |
| 100 |
---------- |
| 101 |
04-01-2022 |
| 102 |
(1 row) |
| 103 |
|
| 104 |
step s1_commit: COMMIT; |
| 105 |
step s2_commit: COMMIT; |
| 106 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 107 |
|
| 108 |
starting permutation: s1_begin s2_begin s1_refresh s2_update s2_read s1_commit s2_commit |
| 109 |
step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 110 |
step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; |
| 111 |
step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; |
| 112 |
step s2_update: UPDATE orders SET num = num + 1; |
| 113 |
step s2_read: SELECT max(date) FROM order_summary; |
| 114 |
max |
| 115 |
---------- |
| 116 |
04-01-2022 |
| 117 |
(1 row) |
| 118 |
|
| 119 |
step s1_commit: COMMIT; |
| 120 |
step s2_commit: COMMIT; |
| 121 |
ERROR: could not serialize access due to read/write dependencies among transactions |