-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: regression in race-instrumentation causes deadline races #17547
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
As a temporary fix, I am okay with reverting. Can you point me to the test though? |
The test is proprietary. I have suspicions that it has to deal with different regression caused by https://go-review.googlesource.com/#/c/31173/, which causes similar failures. It's possible that CL/31317 caused a bug and your CL simply made them occur more frequently. |
@dsnet That CL only affects -race builds. Can you confirm the internal test is using -race? It seems unlikely to be the actual problem (the new code is more intuitively correct IMO), but I'm okay with reverting it if we can't find another fix. |
As discussed in #17559, the |
The source of this issue is due to a buggy implementation of net.Conn that started exhibit failures once https://go-review.googlesource.com/#/c/31173/ landed. https://go-review.googlesource.com/#/c/31317/ was incorrectly identified as the cause because flakiness in whether the problem exhibited itself caused the bisect to incorrectly identify a slightly later CL as the issue. |
8b3194a attempts to fix #17449.
In a large RPC test, this change causes a GET request to report a "deadline exceeded error" immediately with some high probability even though the deadline has not passed.
Presently, I do not have a smaller reproduction that I can provide. Information is sparse; more to come.
Anyone opposed to reverting?
/cc @mdempsky @Dhananjay92
The text was updated successfully, but these errors were encountered: