Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

race condition inside opencensus ochttp when used inside google storage API #1274

Open
Slach opened this issue Feb 16, 2022 · 0 comments
Open
Labels

Comments

@Slach
Copy link

Slach commented Feb 16, 2022

Please answer these questions before submitting a bug report.

What version of OpenCensus are you using?

0.23.0

What version of Go are you using?

1.17

What did you do?

googleapis/google-cloud-go#5664

What did you expect to see?

no race condition

What did you see instead?

race condition inside opencensus
storage.NewReader() fire different http requests and should provide different Span intance

Look to
https://github.com/googleapis/google-cloud-go/blob/main/storage/reader.go#L80-L96
and
https://github.com/googleapis/google-cloud-go/blob/main/internal/trace/trace.go#L28-L41

@Slach Slach added the bug label Feb 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant