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

Fix transaction/communicator endSpan #355

Merged
merged 2 commits into from
Mar 21, 2024
Merged

Fix transaction/communicator endSpan #355

merged 2 commits into from
Mar 21, 2024

Conversation

qianl15
Copy link
Member

@qianl15 qianl15 commented Mar 21, 2024

This PR fixes an issue where endSpan is called multiple times incorrectly when a transaction/communicator retries.

Instead, we call addEvent to mark the retry event in the function context's trace span.

Copy link
Contributor

@maxdml maxdml left a comment

Choose a reason for hiding this comment

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

nice fix!

@qianl15 qianl15 merged commit 2878afd into main Mar 21, 2024
2 checks passed
@qianl15 qianl15 deleted the qian/endspan branch March 21, 2024 23:56
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.

3 participants