Commit 1c38591
authored
Get rid of various unnecessary warnings in logs (#2981)
* Watch explicit event for channel actor termination
We use an explicit event in the `Peer` when watching for child channel
actors being terminated. This should get rid of the warnings in the logs
about the `Terminated` event not being handled, or at least provide us
more hints of which actors aren't properly being tracked.
* Fix disconnect response in channel actors
We weren't watching for the right event, which creates a lot of log
lines saying that the `Disconnecting` event is unhandled.
* Ignore closing negotiation if closing or closed
If we receive an outdated closing message, we ignore it without creating
a warning in the logs.
* Ignore HTLC settlement commands while disconnected
We ignore HTLC settlement commands while we're disconnected, they will
be retried once the channel has been reestablished. We also ignore
commands asking us to sign the latest state or update fees.1 parent 8827a04 commit 1c38591
File tree
2 files changed
+72
-21
lines changed- eclair-core/src/main/scala/fr/acinq/eclair
- channel/fsm
- io
2 files changed
+72
-21
lines changedLines changed: 44 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2024 | 2024 | | |
2025 | 2025 | | |
2026 | 2026 | | |
2027 | | - | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
2028 | 2040 | | |
2029 | 2041 | | |
2030 | 2042 | | |
| |||
2045 | 2057 | | |
2046 | 2058 | | |
2047 | 2059 | | |
2048 | | - | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
2049 | 2069 | | |
2050 | 2070 | | |
2051 | | - | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
2052 | 2076 | | |
2053 | 2077 | | |
2054 | 2078 | | |
| |||
2118 | 2142 | | |
2119 | 2143 | | |
2120 | 2144 | | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
2121 | 2153 | | |
2122 | 2154 | | |
2123 | 2155 | | |
| |||
2325 | 2357 | | |
2326 | 2358 | | |
2327 | 2359 | | |
| 2360 | + | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
2328 | 2368 | | |
2329 | 2369 | | |
2330 | 2370 | | |
| |||
2469 | 2509 | | |
2470 | 2510 | | |
2471 | 2511 | | |
2472 | | - | |
| 2512 | + | |
2473 | 2513 | | |
2474 | 2514 | | |
2475 | 2515 | | |
| |||
Lines changed: 28 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
495 | 499 | | |
496 | 500 | | |
497 | 501 | | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
507 | 516 | | |
508 | | - | |
509 | 517 | | |
510 | 518 | | |
511 | 519 | | |
| |||
843 | 851 | | |
844 | 852 | | |
845 | 853 | | |
846 | | - | |
| 854 | + | |
847 | 855 | | |
848 | 856 | | |
849 | 857 | | |
| |||
1088 | 1096 | | |
1089 | 1097 | | |
1090 | 1098 | | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
1091 | 1102 | | |
1092 | 1103 | | |
1093 | 1104 | | |
| |||
0 commit comments