Commit 86ac08b
committed
feat(cache): use the insertIgnoreConflict connexion method so that conflicts are properly handled
In the FileCache, use insertIgnoreConflict to avoid conflict error messages on PostgreSQL. Use the
new optional callback argument to hintShardKey even though insertIgnoreConflict doesn't support that
Closes #19494
Signed-off-by: Thomas Citharel <tcit@tcit.fr>1 parent 3d21e9d commit 86ac08b
1 file changed
Lines changed: 3 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
429 | 400 | | |
430 | 401 | | |
431 | 402 | | |
| |||
0 commit comments