Commit b15abc9
committed
tapgarden: stop caretaker on confirmation err
In this commit, we update the TX confirmation handling logic to stop the
caretaker if confirmation registration fails. At that point, the
caretaker cannot successfully receive a confirmation for the broadcast
batch, so it should shut down to allow caretaker restart for the same
batch. Note that the planter will not actually delete the stopped
caretaker, as the error is not sent on BroadcastErrChan.1 parent 6d0d935 commit b15abc9
1 file changed
+14
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
879 | 879 | | |
880 | 880 | | |
881 | 881 | | |
882 | | - | |
883 | | - | |
884 | 882 | | |
885 | 883 | | |
886 | 884 | | |
887 | | - | |
888 | | - | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
889 | 890 | | |
890 | 891 | | |
891 | 892 | | |
| |||
911 | 912 | | |
912 | 913 | | |
913 | 914 | | |
914 | | - | |
| 915 | + | |
915 | 916 | | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
916 | 920 | | |
917 | 921 | | |
918 | 922 | | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
919 | 928 | | |
920 | 929 | | |
921 | 930 | | |
| |||
0 commit comments