consul/.changelog
Freddy f6de5ff635
Allow dialer to re-establish terminated peering (#16776)
Currently, if an acceptor peer deletes a peering the dialer's peering
will eventually get to a "terminated" state. If the two clusters need to
be re-peered the acceptor will re-generate the token but the dialer will
encounter this error on the call to establish:

"failed to get addresses to dial peer: failed to refresh peer server
addresses, will continue to use initial addresses: there is no active
peering for "<<<ID>>>""

This is because in `exchangeSecret().GetDialAddresses()` we will get an
error if fetching addresses for an inactive peering. The peering shows
up as inactive at this point because of the existing terminated state.

Rather than checking whether a peering is active we can instead check
whether it was deleted. This way users do not need to delete terminated
peerings in the dialing cluster before re-establishing them.
2023-04-03 12:07:45 -06:00
..
2022-11-14 11:23:02 -05:00
2020-08-06 23:15:29 +02:00
2022-03-31 14:05:02 -07:00
2022-11-14 15:35:12 -05:00
2023-02-06 11:12:43 -08:00
2022-10-19 16:37:50 -04:00
2022-10-20 14:32:42 -04:00
2022-10-24 16:12:08 -04:00
2022-10-28 10:51:12 -04:00
2023-01-06 12:13:40 -05:00
2023-02-06 15:35:52 +00:00
2023-01-27 09:17:07 -06:00
2023-02-10 13:32:19 -08:00
2023-03-18 14:43:22 -06:00