Commit c863ca4
committed
replicators: When restarting replicator, log the position we were at.
When we restart the replicator, we start from the last position we
applied to a table. In case of an instance where we do not snapshot
all tables, the position we error out vs the position we restart at
might be different. For a better debugging experience, log the
last parsed position before erroring out.
Release-Note-Core: Improve logging when restarting replicator to
print the last replication position.
Change-Id: I1fac045c7253e8ca141b295899618d61226369c1
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/9739
Tested-by: Buildkite CI
Reviewed-by: Michael Zink <michael.z@readyset.io>1 parent eda78c9 commit c863ca4
2 files changed
+27
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
720 | 722 | | |
721 | 723 | | |
722 | 724 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
475 | 479 | | |
476 | 480 | | |
477 | 481 | | |
| |||
481 | 485 | | |
482 | 486 | | |
483 | 487 | | |
484 | | - | |
| 488 | + | |
485 | 489 | | |
486 | | - | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
487 | 495 | | |
488 | 496 | | |
489 | 497 | | |
| |||
719 | 727 | | |
720 | 728 | | |
721 | 729 | | |
722 | | - | |
| 730 | + | |
723 | 731 | | |
724 | | - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
725 | 737 | | |
726 | 738 | | |
727 | 739 | | |
728 | 740 | | |
729 | 741 | | |
730 | 742 | | |
731 | 743 | | |
732 | | - | |
| 744 | + | |
733 | 745 | | |
734 | | - | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
735 | 751 | | |
736 | 752 | | |
737 | 753 | | |
| |||
0 commit comments