Commit 45c224a
Merge #153111
153111: import: fix bulk summary override bug when import with multiple files r=ZhouXing19 a=ZhouXing19
When the import source is more than 1 csv file, there is a risk that the bulk summary is incorrectly reset after the first csv file progress is processed, leading to the actual progress being overriden with a nil value. This commit is to fix it.
More internal discussion can be found [here](https://cockroachlabs.slack.com/archives/C02DSDS9TM1/p1756991625692929).
Epic: None
Release note (bug fix): fix bulk summary override bug with IMPORT with multiple files.
Co-authored-by: ZhouXing19 <zhouxing@uchicago.edu>File tree
2 files changed
+21
-11
lines changed- pkg/sql/importer
2 files changed
+21
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
777 | 782 | | |
778 | 783 | | |
779 | 784 | | |
| |||
875 | 880 | | |
876 | 881 | | |
877 | 882 | | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
878 | 888 | | |
879 | 889 | | |
880 | 890 | | |
| |||
0 commit comments