Closed adomaskizogian closed 1 year ago
@iamemilio This bug prevents us from upgrading from 3.22.1. Can you please resolve it? Also, this library ought to run its unit tests with the race detector, in order to detect such bugs during development.
We're working to release a fix for this ASAP.
Fix released
Thank you guys!
@nr-swilloughby In the future it would be nice to include fixes like this in the release notes.
@rittneje sorry about that. The release notes mentioned the fix that was made, which happened to be the cause of both a performance issue and the race condition, but neglected to actually say that it fixed the race condition as well. I'll make a note about that in the next release.
We have observed that running application with race detector enabled (
-race
) it detects that parallel calls tonewrelic.FromContext(ctx).NewGoroutine()
results in data races.No issues with
3.22
sample code that calls
NewGoroutine