Skip to content

Conversation

@adleong
Copy link
Member

@adleong adleong commented Jan 8, 2020

In the opencensus span exporter, we call poll_ready on the span send channel sender to determine if there is capacity in this channel to send spans. However, the channel sender that we poll_ready on is a clone of the original and the clone is dropped shortly after the call to poll_ready. This can cause our interest registration to be dropped and the task may not be notified when capacity becomes available.

The clone is unnecessarily and we can remove it.

Signed-off-by: Alex Leong alex@buoyant.io

Signed-off-by: Alex Leong <alex@buoyant.io>
@adleong adleong requested a review from olix0r January 8, 2020 22:16
Copy link
Contributor

@kleimkuhler kleimkuhler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@adleong adleong merged commit 6d54bfc into master Jan 8, 2020
@adleong adleong deleted the alex/tracing-tracing branch January 8, 2020 22:40
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Jan 15, 2020
This release fixes an issue that could cause the OpenCensus exporter to
stall.

This release does NOT include the experimental changes from
v2.83.0-experimental.

---

* http: Use the endpoint type to inform URI normalization (linkerd/linkerd2-proxy#404)
* Remove clone in opencensus exporter to ensure task is notified (linkerd/linkerd2-proxy#405)
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Jan 15, 2020
This release fixes an issue that could cause the OpenCensus exporter to
stall.

This release does NOT include the experimental changes from
v2.83.0-experimental.

---

* http: Use the endpoint type to inform URI normalization (linkerd/linkerd2-proxy#404)
* Remove clone in opencensus exporter to ensure task is notified (linkerd/linkerd2-proxy#405)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants