linkerd2/proxy/tests
Brian Smith f931dec3b3
Proxy: Completely replace current set of destinations on reconnect (#632)
Previosuly, when the proxy was disconnected from the Destination
service and then reconnects, the proxy would not forget old, outdated
entries in its cache of endpoints. If those endpoints had been removed
while the proxy was disconnected then the proxy would never become
aware of that.

Instead, on the first message after a reconnection, replace the entire
set of cached entries with the new set, which may be empty.

Prior to this change, the new test
outbound_destinations_reset_on_reconnect_followed_by_no_endpoints_exists
passed already
but outbound_destinations_reset_on_reconnect_followed_by_add_none
and outbound_destinations_reset_on_reconnect_followed_by_remove_none
failed. Now all these tests pass.

Fixes #573

Signed-off-by: Brian Smith <brian@briansmith.org>
2018-03-29 16:50:08 -10:00
..
support Proxy: Completely replace current set of destinations on reconnect (#632) 2018-03-29 16:50:08 -10:00
discovery.rs Proxy: Completely replace current set of destinations on reconnect (#632) 2018-03-29 16:50:08 -10:00
telemetry.rs Add response classification to proxy metrics (#639) 2018-03-28 14:49:00 -07:00
transparency.rs proxy: improve transparency of host headers and absolute-uris (#535) 2018-03-08 13:15:21 -08:00