Commit 37ecf9f
[perf] Gracefully handle trace values duplicates
Should fix errors like `pgx - Exec map[args:[] err:ERROR:
com.google.api.gax.rpc.OutOfRangeException:
io.grpc.StatusRuntimeException: OUT_OF_RANGE: Cannot affect a row second
time for key (<unprintable>, 42) (SQLSTATE P0001) pid:44 sql:INSERT
INTO`. There is no reason to drop the whole batch of data because of the
duplicates.
Change-Id: I412ac5d8445b356c150bf4f170776d0758b7aaef
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/1124858
Reviewed-by: Maxim Sheshukov <[email protected]>
Commit-Queue: Anri Sidorov <[email protected]>1 parent 86e69ea commit 37ecf9f
File tree
2 files changed
+34
-1
lines changed- perf/go/tracestore/sqltracestore
2 files changed
+34
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
1193 | 1198 | | |
1194 | 1199 | | |
1195 | 1200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
660 | 688 | | |
661 | 689 | | |
662 | 690 | | |
| |||
0 commit comments