Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(tracing): register_callsite doesn't get called #2744

Draft
wants to merge 1 commit into
base: v0.1.x
Choose a base branch
from

Conversation

hds
Copy link
Contributor

@hds hds commented Oct 10, 2023

DO NOT MERGE - JUST A REPRO

This branch contains code to reproduce an issue where 2 thread local
subscribers interfer so that when the first one takes too long to
complete register_callsite(), the second subscriber doesn't have
register_callsite() called at all.

It also contains an attempt at a fix by removing a race condition in
DefaultCallsite::register. This fix may be necessary anyway, but it
isn't sufficient.

The issue for this problem is #2743.

@hds hds force-pushed the hds/missed-register-callsite branch from f0eb1b6 to df3e1bf Compare October 10, 2023 14:26
This branch contains code to reproduce an issue where 2 thread local
subscribers interfer so that when the first one takes too long to
complete `register_callsite()`, the second subscriber doesn't have
`register_callsite()` called at all.

It also contains an attempt at a fix by removing a race condition in
`DefaultCallsite::register`. This fix may be necessary anyway, but it
isn't sufficient.

The issue for this problem is #2743.
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.

1 participant