Debian Codegraph @

src/test/isolation/expected/tuplelock-upgrade-no-deadlock.out

raw
1 Parsed test spec with 4 sessions
2
3 starting permutation: s1_share s2_for_update s3_share s3_for_update s1_rollback s3_rollback s2_rollback
4 step s1_share: select id from tlu_job where id = 1 for share;
5 id
6 --
7 1
8 (1 row)
9
10 step s2_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
11 step s3_share: select id from tlu_job where id = 1 for share;
12 id
13 --
14 1
15 (1 row)
16
17 step s3_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
18 step s1_rollback: rollback;
19 step s3_for_update: <... completed>
20 id
21 --
22 1
23 (1 row)
24
25 step s3_rollback: rollback;
26 step s2_for_update: <... completed>
27 id
28 --
29 1
30 (1 row)
31
32 step s2_rollback: rollback;
33
34 starting permutation: s1_keyshare s2_for_update s3_keyshare s1_update s3_update s1_rollback s3_rollback s2_rollback
35 step s1_keyshare: select id from tlu_job where id = 1 for key share;
36 id
37 --
38 1
39 (1 row)
40
41 step s2_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
42 step s3_keyshare: select id from tlu_job where id = 1 for key share;
43 id
44 --
45 1
46 (1 row)
47
48 step s1_update: update tlu_job set name = 'b' where id = 1;
49 step s3_update: update tlu_job set name = 'c' where id = 1; <waiting ...>
50 step s1_rollback: rollback;
51 step s3_update: <... completed>
52 step s3_rollback: rollback;
53 step s2_for_update: <... completed>
54 id
55 --
56 1
57 (1 row)
58
59 step s2_rollback: rollback;
60
61 starting permutation: s1_keyshare s2_for_update s3_keyshare s1_update s3_update s1_commit s3_rollback s2_rollback
62 step s1_keyshare: select id from tlu_job where id = 1 for key share;
63 id
64 --
65 1
66 (1 row)
67
68 step s2_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
69 step s3_keyshare: select id from tlu_job where id = 1 for key share;
70 id
71 --
72 1
73 (1 row)
74
75 step s1_update: update tlu_job set name = 'b' where id = 1;
76 step s3_update: update tlu_job set name = 'c' where id = 1; <waiting ...>
77 step s1_commit: commit;
78 step s3_update: <... completed>
79 step s3_rollback: rollback;
80 step s2_for_update: <... completed>
81 id
82 --
83 1
84 (1 row)
85
86 step s2_rollback: rollback;
87
88 starting permutation: s1_keyshare s2_for_update s3_keyshare s3_delete s1_rollback s3_rollback s2_rollback
89 step s1_keyshare: select id from tlu_job where id = 1 for key share;
90 id
91 --
92 1
93 (1 row)
94
95 step s2_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
96 step s3_keyshare: select id from tlu_job where id = 1 for key share;
97 id
98 --
99 1
100 (1 row)
101
102 step s3_delete: delete from tlu_job where id = 1; <waiting ...>
103 step s1_rollback: rollback;
104 step s3_delete: <... completed>
105 step s3_rollback: rollback;
106 step s2_for_update: <... completed>
107 id
108 --
109 1
110 (1 row)
111
112 step s2_rollback: rollback;
113
114 starting permutation: s1_keyshare s2_for_update s3_keyshare s3_delete s1_rollback s3_commit s2_rollback
115 step s1_keyshare: select id from tlu_job where id = 1 for key share;
116 id
117 --
118 1
119 (1 row)
120
121 step s2_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
122 step s3_keyshare: select id from tlu_job where id = 1 for key share;
123 id
124 --
125 1
126 (1 row)
127
128 step s3_delete: delete from tlu_job where id = 1; <waiting ...>
129 step s1_rollback: rollback;
130 step s3_delete: <... completed>
131 step s3_commit: commit;
132 step s2_for_update: <... completed>
133 id
134 --
135 (0 rows)
136
137 step s2_rollback: rollback;
138
139 starting permutation: s1_share s2_for_update s3_for_update s1_rollback s2_rollback s3_rollback
140 step s1_share: select id from tlu_job where id = 1 for share;
141 id
142 --
143 1
144 (1 row)
145
146 step s2_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
147 step s3_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
148 step s1_rollback: rollback;
149 step s2_for_update: <... completed>
150 id
151 --
152 1
153 (1 row)
154
155 step s2_rollback: rollback;
156 step s3_for_update: <... completed>
157 id
158 --
159 1
160 (1 row)
161
162 step s3_rollback: rollback;
163
164 starting permutation: s1_share s2_update s3_update s1_rollback s2_rollback s3_rollback
165 step s1_share: select id from tlu_job where id = 1 for share;
166 id
167 --
168 1
169 (1 row)
170
171 step s2_update: update tlu_job set name = 'b' where id = 1; <waiting ...>
172 step s3_update: update tlu_job set name = 'c' where id = 1; <waiting ...>
173 step s1_rollback: rollback;
174 step s2_update: <... completed>
175 step s2_rollback: rollback;
176 step s3_update: <... completed>
177 step s3_rollback: rollback;
178
179 starting permutation: s1_share s2_delete s3_delete s1_rollback s2_rollback s3_rollback
180 step s1_share: select id from tlu_job where id = 1 for share;
181 id
182 --
183 1
184 (1 row)
185
186 step s2_delete: delete from tlu_job where id = 1; <waiting ...>
187 step s3_delete: delete from tlu_job where id = 1; <waiting ...>
188 step s1_rollback: rollback;
189 step s2_delete: <... completed>
190 step s2_rollback: rollback;
191 step s3_delete: <... completed>
192 step s3_rollback: rollback;
193
194 starting permutation: s1_keyshare s3_for_update s2_for_keyshare s1_savept_e s1_share s1_savept_f s1_fornokeyupd s2_fornokeyupd s0_begin s0_keyshare s1_rollback_f s0_keyshare s1_rollback_e s1_rollback s2_rollback s0_rollback s3_rollback
195 step s1_keyshare: select id from tlu_job where id = 1 for key share;
196 id
197 --
198 1
199 (1 row)
200
201 step s3_for_update: select id from tlu_job where id = 1 for update; <waiting ...>
202 step s2_for_keyshare: select id from tlu_job where id = 1 for key share;
203 id
204 --
205 1
206 (1 row)
207
208 step s1_savept_e: savepoint s1_e;
209 step s1_share: select id from tlu_job where id = 1 for share;
210 id
211 --
212 1
213 (1 row)
214
215 step s1_savept_f: savepoint s1_f;
216 step s1_fornokeyupd: select id from tlu_job where id = 1 for no key update;
217 id
218 --
219 1
220 (1 row)
221
222 step s2_fornokeyupd: select id from tlu_job where id = 1 for no key update; <waiting ...>
223 step s0_begin: begin;
224 step s0_keyshare: select id from tlu_job where id = 1 for key share;
225 id
226 --
227 1
228 (1 row)
229
230 step s1_rollback_f: rollback to s1_f;
231 step s0_keyshare: select id from tlu_job where id = 1 for key share;
232 id
233 --
234 1
235 (1 row)
236
237 step s1_rollback_e: rollback to s1_e;
238 step s2_fornokeyupd: <... completed>
239 id
240 --
241 1
242 (1 row)
243
244 step s1_rollback: rollback;
245 step s2_rollback: rollback;
246 step s0_rollback: rollback;
247 step s3_for_update: <... completed>
248 id
249 --
250 1
251 (1 row)
252
253 step s3_rollback: rollback;