Skip to content

fix sampling priority being locked too early#544

Merged
rochdev merged 3 commits into
masterfrom
fix-sampling-priority-lock
May 1, 2019
Merged

fix sampling priority being locked too early#544
rochdev merged 3 commits into
masterfrom
fix-sampling-priority-lock

Conversation

@rochdev
Copy link
Copy Markdown
Member

@rochdev rochdev commented Apr 17, 2019

This PR fixes the sampling priority being locked too quickly. Since a finished span cannot be flushed until the entire trace is finished, it's not necessary to lock it at that point and we can wait just before the actual flush.

@rochdev rochdev added bug Something isn't working core labels Apr 17, 2019
@rochdev rochdev added this to the 0.11.1 milestone Apr 17, 2019
@rochdev rochdev requested a review from brettlangdon April 17, 2019 18:03
@rochdev rochdev changed the title fix sampling priority being locked too quickly fix sampling priority being locked too early Apr 17, 2019
Copy link
Copy Markdown
Member

@brettlangdon brettlangdon left a comment

Choose a reason for hiding this comment

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

makes sense, not a bad change.

@rochdev rochdev merged commit 4a267c1 into master May 1, 2019
@rochdev rochdev deleted the fix-sampling-priority-lock branch May 1, 2019 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants