Skip to content

Commit

Permalink
proxy: v2.121.0 (#5253)
Browse files Browse the repository at this point in the history
This release changes error handling to teardown the server-side
connection when an unexpected error is encountered.

Additionally, the outbound TCP routing stack can now skip redundant
service discovery lookups when profile responses include endpoint
information.

Finally, the cache implementation has been updated to reduce latency by
removing unnecessary buffers.

---

* h2: enable HTTP/2 keepalive PING frames (linkerd/linkerd2-proxy#737)
* actions: Add timeouts to GitHub actions (linkerd/linkerd2-proxy#738)
* outbound: Skip endpoint resolution on profile hint (linkerd/linkerd2-proxy#736)
* Add a FromStr for dns::Name (linkerd/linkerd2-proxy#746)
* outbound: Avoid redundant TCP endpoint resolution (linkerd/linkerd2-proxy#742)
* cache: Make the cache cloneable with RwLock (linkerd/linkerd2-proxy#743)
* http: Teardown serverside connections on error (linkerd/linkerd2-proxy#747)
  • Loading branch information
olix0r authored Nov 19, 2020
1 parent b389054 commit 375ffd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .proxy-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.119.0
v2.121.0
3 changes: 3 additions & 0 deletions controller/api/destination/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ func (s *server) GetProfile(dest *pb.GetDestination, stream pb.Destination_GetPr
Name: pod.Name,
}
endpoint, err = toWeightedAddr(podSet.Addresses[podID], s.enableH2Upgrade, s.identityTrustDomain, s.controllerNS)
// `Get` doesn't include the namespace in the per-endpoint
// metadata, so it needs to be special-cased.
endpoint.MetricLabels["namespace"] = pod.Namespace
if err != nil {
return err
}
Expand Down

0 comments on commit 375ffd7

Please sign in to comment.