| 1 |
Parsed test spec with 2 sessions |
| 2 |
|
| 3 |
starting permutation: wx1 rxy1 c1 wy2 rxy2 c2 |
| 4 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 5 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 6 |
sum |
| 7 |
---- |
| 8 |
1000 |
| 9 |
(1 row) |
| 10 |
|
| 11 |
step c1: COMMIT; |
| 12 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 13 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 14 |
sum |
| 15 |
--- |
| 16 |
800 |
| 17 |
(1 row) |
| 18 |
|
| 19 |
step c2: COMMIT; |
| 20 |
|
| 21 |
starting permutation: wx1 rxy1 wy2 c1 rxy2 c2 |
| 22 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 23 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 24 |
sum |
| 25 |
---- |
| 26 |
1000 |
| 27 |
(1 row) |
| 28 |
|
| 29 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 30 |
step c1: COMMIT; |
| 31 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 32 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 33 |
step c2: COMMIT; |
| 34 |
|
| 35 |
starting permutation: wx1 rxy1 wy2 rxy2 c1 c2 |
| 36 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 37 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 38 |
sum |
| 39 |
---- |
| 40 |
1000 |
| 41 |
(1 row) |
| 42 |
|
| 43 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 44 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 45 |
sum |
| 46 |
---- |
| 47 |
1000 |
| 48 |
(1 row) |
| 49 |
|
| 50 |
step c1: COMMIT; |
| 51 |
step c2: COMMIT; |
| 52 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 53 |
|
| 54 |
starting permutation: wx1 rxy1 wy2 rxy2 c2 c1 |
| 55 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 56 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 57 |
sum |
| 58 |
---- |
| 59 |
1000 |
| 60 |
(1 row) |
| 61 |
|
| 62 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 63 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 64 |
sum |
| 65 |
---- |
| 66 |
1000 |
| 67 |
(1 row) |
| 68 |
|
| 69 |
step c2: COMMIT; |
| 70 |
step c1: COMMIT; |
| 71 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 72 |
|
| 73 |
starting permutation: wx1 wy2 rxy1 c1 rxy2 c2 |
| 74 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 75 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 76 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 77 |
sum |
| 78 |
---- |
| 79 |
1000 |
| 80 |
(1 row) |
| 81 |
|
| 82 |
step c1: COMMIT; |
| 83 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 84 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 85 |
step c2: COMMIT; |
| 86 |
|
| 87 |
starting permutation: wx1 wy2 rxy1 rxy2 c1 c2 |
| 88 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 89 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 90 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 91 |
sum |
| 92 |
---- |
| 93 |
1000 |
| 94 |
(1 row) |
| 95 |
|
| 96 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 97 |
sum |
| 98 |
---- |
| 99 |
1000 |
| 100 |
(1 row) |
| 101 |
|
| 102 |
step c1: COMMIT; |
| 103 |
step c2: COMMIT; |
| 104 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 105 |
|
| 106 |
starting permutation: wx1 wy2 rxy1 rxy2 c2 c1 |
| 107 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 108 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 109 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 110 |
sum |
| 111 |
---- |
| 112 |
1000 |
| 113 |
(1 row) |
| 114 |
|
| 115 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 116 |
sum |
| 117 |
---- |
| 118 |
1000 |
| 119 |
(1 row) |
| 120 |
|
| 121 |
step c2: COMMIT; |
| 122 |
step c1: COMMIT; |
| 123 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 124 |
|
| 125 |
starting permutation: wx1 wy2 rxy2 rxy1 c1 c2 |
| 126 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 127 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 128 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 129 |
sum |
| 130 |
---- |
| 131 |
1000 |
| 132 |
(1 row) |
| 133 |
|
| 134 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 135 |
sum |
| 136 |
---- |
| 137 |
1000 |
| 138 |
(1 row) |
| 139 |
|
| 140 |
step c1: COMMIT; |
| 141 |
step c2: COMMIT; |
| 142 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 143 |
|
| 144 |
starting permutation: wx1 wy2 rxy2 rxy1 c2 c1 |
| 145 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 146 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 147 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 148 |
sum |
| 149 |
---- |
| 150 |
1000 |
| 151 |
(1 row) |
| 152 |
|
| 153 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 154 |
sum |
| 155 |
---- |
| 156 |
1000 |
| 157 |
(1 row) |
| 158 |
|
| 159 |
step c2: COMMIT; |
| 160 |
step c1: COMMIT; |
| 161 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 162 |
|
| 163 |
starting permutation: wx1 wy2 rxy2 c2 rxy1 c1 |
| 164 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 165 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 166 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 167 |
sum |
| 168 |
---- |
| 169 |
1000 |
| 170 |
(1 row) |
| 171 |
|
| 172 |
step c2: COMMIT; |
| 173 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 174 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 175 |
step c1: COMMIT; |
| 176 |
|
| 177 |
starting permutation: wy2 wx1 rxy1 c1 rxy2 c2 |
| 178 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 179 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 180 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 181 |
sum |
| 182 |
---- |
| 183 |
1000 |
| 184 |
(1 row) |
| 185 |
|
| 186 |
step c1: COMMIT; |
| 187 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 188 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 189 |
step c2: COMMIT; |
| 190 |
|
| 191 |
starting permutation: wy2 wx1 rxy1 rxy2 c1 c2 |
| 192 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 193 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 194 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 195 |
sum |
| 196 |
---- |
| 197 |
1000 |
| 198 |
(1 row) |
| 199 |
|
| 200 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 201 |
sum |
| 202 |
---- |
| 203 |
1000 |
| 204 |
(1 row) |
| 205 |
|
| 206 |
step c1: COMMIT; |
| 207 |
step c2: COMMIT; |
| 208 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 209 |
|
| 210 |
starting permutation: wy2 wx1 rxy1 rxy2 c2 c1 |
| 211 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 212 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 213 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 214 |
sum |
| 215 |
---- |
| 216 |
1000 |
| 217 |
(1 row) |
| 218 |
|
| 219 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 220 |
sum |
| 221 |
---- |
| 222 |
1000 |
| 223 |
(1 row) |
| 224 |
|
| 225 |
step c2: COMMIT; |
| 226 |
step c1: COMMIT; |
| 227 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 228 |
|
| 229 |
starting permutation: wy2 wx1 rxy2 rxy1 c1 c2 |
| 230 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 231 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 232 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 233 |
sum |
| 234 |
---- |
| 235 |
1000 |
| 236 |
(1 row) |
| 237 |
|
| 238 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 239 |
sum |
| 240 |
---- |
| 241 |
1000 |
| 242 |
(1 row) |
| 243 |
|
| 244 |
step c1: COMMIT; |
| 245 |
step c2: COMMIT; |
| 246 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 247 |
|
| 248 |
starting permutation: wy2 wx1 rxy2 rxy1 c2 c1 |
| 249 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 250 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 251 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 252 |
sum |
| 253 |
---- |
| 254 |
1000 |
| 255 |
(1 row) |
| 256 |
|
| 257 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 258 |
sum |
| 259 |
---- |
| 260 |
1000 |
| 261 |
(1 row) |
| 262 |
|
| 263 |
step c2: COMMIT; |
| 264 |
step c1: COMMIT; |
| 265 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 266 |
|
| 267 |
starting permutation: wy2 wx1 rxy2 c2 rxy1 c1 |
| 268 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 269 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 270 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 271 |
sum |
| 272 |
---- |
| 273 |
1000 |
| 274 |
(1 row) |
| 275 |
|
| 276 |
step c2: COMMIT; |
| 277 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 278 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 279 |
step c1: COMMIT; |
| 280 |
|
| 281 |
starting permutation: wy2 rxy2 wx1 rxy1 c1 c2 |
| 282 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 283 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 284 |
sum |
| 285 |
---- |
| 286 |
1000 |
| 287 |
(1 row) |
| 288 |
|
| 289 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 290 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 291 |
sum |
| 292 |
---- |
| 293 |
1000 |
| 294 |
(1 row) |
| 295 |
|
| 296 |
step c1: COMMIT; |
| 297 |
step c2: COMMIT; |
| 298 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 299 |
|
| 300 |
starting permutation: wy2 rxy2 wx1 rxy1 c2 c1 |
| 301 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 302 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 303 |
sum |
| 304 |
---- |
| 305 |
1000 |
| 306 |
(1 row) |
| 307 |
|
| 308 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 309 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 310 |
sum |
| 311 |
---- |
| 312 |
1000 |
| 313 |
(1 row) |
| 314 |
|
| 315 |
step c2: COMMIT; |
| 316 |
step c1: COMMIT; |
| 317 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 318 |
|
| 319 |
starting permutation: wy2 rxy2 wx1 c2 rxy1 c1 |
| 320 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 321 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 322 |
sum |
| 323 |
---- |
| 324 |
1000 |
| 325 |
(1 row) |
| 326 |
|
| 327 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 328 |
step c2: COMMIT; |
| 329 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 330 |
ERROR: could not serialize access due to read/write dependencies among transactions |
| 331 |
step c1: COMMIT; |
| 332 |
|
| 333 |
starting permutation: wy2 rxy2 c2 wx1 rxy1 c1 |
| 334 |
step wy2: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'savings'; |
| 335 |
step rxy2: SELECT SUM(balance) FROM accounts; |
| 336 |
sum |
| 337 |
---- |
| 338 |
1000 |
| 339 |
(1 row) |
| 340 |
|
| 341 |
step c2: COMMIT; |
| 342 |
step wx1: UPDATE accounts SET balance = balance - 200 WHERE accountid = 'checking'; |
| 343 |
step rxy1: SELECT SUM(balance) FROM accounts; |
| 344 |
sum |
| 345 |
--- |
| 346 |
800 |
| 347 |
(1 row) |
| 348 |
|
| 349 |
step c1: COMMIT; |