linkerd / linkerd2

Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
https://linkerd.io
Apache License 2.0
10.51k stars 1.27k forks source link

Revert "Fix destination staleness issue when adding EndpointSlices (#12427)" #12589

Closed alpeb closed 2 months ago

alpeb commented 2 months ago

This reverts commit 4fccf3e9eccb8179b802725e816e423a3d3b824d.

The early return was causing pp.addresses = newAddressSet to not be run when the list of addresses is empty; but setting that is still necessary so that labels are tracked correctly.

This was caught by the tap (viz) integration test run in the release workflow.