Commit 79a216c
committed
Simplifies retry configuration for deadlocks and timeouts
Replaces complex, multi-faceted retryable exceptions configuration
with boolean flags for deadlock and lock wait timeout retries.
This change simplifies configuration and improves readability.
The configuration now uses `retry_on_deadlock` and
`retry_on_lock_wait_timeout` flags.1 parent 00f32e8 commit 79a216c
File tree
4 files changed
+110
-112
lines changed- config
- src/Services
- tests/Unit
4 files changed
+110
-112
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 113 | + | |
| 114 | + | |
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 120 | + | |
| 121 | + | |
124 | 122 | | |
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
128 | 126 | | |
129 | | - | |
| 127 | + | |
130 | 128 | | |
131 | 129 | | |
132 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 64 | + | |
75 | 65 | | |
76 | | - | |
77 | | - | |
| 66 | + | |
78 | 67 | | |
79 | 68 | | |
80 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 105 | + | |
| 106 | + | |
120 | 107 | | |
121 | 108 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 109 | + | |
127 | 110 | | |
128 | 111 | | |
129 | 112 | | |
130 | 113 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | 114 | | |
138 | 115 | | |
139 | 116 | | |
140 | 117 | | |
141 | 118 | | |
142 | | - | |
143 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
144 | 130 | | |
145 | 131 | | |
146 | | - | |
| 132 | + | |
147 | 133 | | |
148 | 134 | | |
149 | 135 | | |
| |||
339 | 325 | | |
340 | 326 | | |
341 | 327 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
| 328 | + | |
351 | 329 | | |
352 | 330 | | |
353 | 331 | | |
| |||
362 | 340 | | |
363 | 341 | | |
364 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
365 | 372 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
245 | 271 | | |
246 | 272 | | |
247 | 273 | | |
248 | 274 | | |
249 | 275 | | |
250 | 276 | | |
251 | 277 | | |
252 | | - | |
253 | | - | |
| 278 | + | |
| 279 | + | |
254 | 280 | | |
255 | 281 | | |
256 | 282 | | |
| |||
288 | 314 | | |
289 | 315 | | |
290 | 316 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
| 317 | + | |
| 318 | + | |
298 | 319 | | |
299 | 320 | | |
300 | 321 | | |
| |||
310 | 331 | | |
311 | 332 | | |
312 | 333 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
| 334 | + | |
319 | 335 | | |
320 | 336 | | |
321 | 337 | | |
322 | 338 | | |
323 | 339 | | |
324 | 340 | | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
| 341 | + | |
354 | 342 | | |
355 | 343 | | |
356 | 344 | | |
357 | | - | |
| 345 | + | |
358 | 346 | | |
359 | 347 | | |
360 | 348 | | |
361 | | - | |
| 349 | + | |
362 | 350 | | |
363 | 351 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
| 352 | + | |
| 353 | + | |
368 | 354 | | |
369 | 355 | | |
370 | 356 | | |
| |||
506 | 492 | | |
507 | 493 | | |
508 | 494 | | |
509 | | - | |
| 495 | + | |
510 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
511 | 515 | | |
512 | 516 | | |
513 | 517 | | |
| |||
0 commit comments