mirror of https://github.com/hashicorp/consul
Browse Source
Prior to this PR, servers / agents would panic and crash if an ingress or api gateway were configured to use a discovery chain that both: 1. Referenced a peered service 2. Had a mesh gateway mode of local This could occur, because code for handling upstream watches was shared between both connect-proxy and the gateways. As a short-term fix, this PR ensures that the maps are always initialized for these gateway services. This PR also wraps the proxycfg execution and service registration calls with recover statements to ensure that future issues like this do not put the server into an unrecoverable state.spatel/NET-1847-repro
Derek Menteer
2 years ago
committed by
GitHub
4 changed files with 33 additions and 0 deletions
Loading…
Reference in new issue