Skip to content

fix: race condition for id generator#480

Merged
wangyb-A merged 1 commit into
mainfrom
fix_id_gen
Jun 17, 2026
Merged

fix: race condition for id generator#480
wangyb-A merged 1 commit into
mainfrom
fix_id_gen

Conversation

@wangyb-A

@wangyb-A wangyb-A commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available: close #422

Description of changes:

  • Use contextvar for next span id

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@wangyb-A wangyb-A marked this pull request as ready for review June 17, 2026 21:00
@wangyb-A wangyb-A requested a review from zhongkechen June 17, 2026 21:00
@wangyb-A wangyb-A merged commit 74cebf1 into main Jun 17, 2026
12 checks passed
@wangyb-A wangyb-A deleted the fix_id_gen branch June 17, 2026 23:32
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.

[Bug]: IdGenerator in OTel plugin generates the wrong ID when called concurrently

3 participants