-
Notifications
You must be signed in to change notification settings - Fork 18k
x/net/http2: data race #48491
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
Comments
Note this won't happen every run of the test. I ran it in a loop and it happens after a bunch of tries. |
I'm also hitting this. We just updated go modules and run with the race detector locally and folks stuff started crashing. Same sha, |
Our previous, operating correctly, version of this was |
Change https://golang.org/cl/351949 mentions this issue: |
Change https://golang.org/cl/351950 mentions this issue: |
Move flow adjustment back under cc.mu. Fixes golang/go#48491. Change-Id: Idb762091cfeb55c18bc74389e62193f81438624f Reviewed-on: https://go-review.googlesource.com/c/net/+/351950 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I ran a test using a GCP Compute API call using
google.golang.org/api/compute/v1
. The test is in this repo: https://github.com/horgh/http2-data-raceIt works only on GCP VMs although I expect one could be written without that requirement. This is just how I was able to reproduce it.
What did you expect to see?
I expect the test to complete without issue
What did you see instead?
A data race was reported.
This began happening after I updated
golang.org/x/net
from golang/net@a5e0955 to golang/net@978cfad, although I don't know which commit in particular causes it (assuming one does).The text was updated successfully, but these errors were encountered: