Stop panicking if a connection has multiple failures #3109
Labels
A-network
Area: Network protocol updates or fixes
C-bug
Category: This is a bug
I-panic
Zebra panics with an internal error message
I-usability
Zebra is hard to understand or use
Milestone
Motivation
Currently, Zebra panics if a connection has multiple failures.
In #1610, we describe a complicated refactor that would stop Zebra having multiple failures on the same connection. But this refactor could introduce other bugs.
There's a much simpler solution that avoids the panics.
Suggested Solution
Rejected Solutions
close both the inbound and outbound channels infail_with
check how those closed channels are eventually handled (they should not panic, debug logs are ok)Related Work
We'll remove some kinds of connection errors in #2107
This ticket obsoletes #1610
The text was updated successfully, but these errors were encountered: