-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
*: use go-deadlock in race builds #8011
Conversation
Review status: 0 of 67 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. util/syncutil/mutex_deadlock.go, line 21 [r1] (raw file):
Deadlock is doing os.Exit(2) by default when it sees a potential deadlock. Comments from Reviewable |
Review status: 0 of 67 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. util/syncutil/mutex_deadlock.go, line 21 [r1] (raw file):
|
Can you put the substantive changes (e.g. gossip.go, and maybe others I haven't found) in a separate commit from the one that does Review status: 0 of 67 files reviewed at latest revision, 1 unresolved discussion, some commit checks pending. Comments from Reviewable |
@bdarnell done. Review status: 0 of 67 files reviewed at latest revision, 1 unresolved discussion, some commit checks pending. Comments from Reviewable |
LGTM. Since CI is failing in non-trivial ways and updating this PR is going to be painful, you may want to merge the renaming to use syncutil everywhere without making syncutil use go-deadlock. Review status: 0 of 67 files reviewed at latest revision, 2 unresolved discussions, some commit checks pending. build/check-style.sh, line 39 [r6] (raw file):
util/syncutil/mutex_deadlock.go, line 21 [r1] (raw file):
|
Review status: 0 of 67 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. build/check-style.sh, line 39 [r6] (raw file):
|
Review status: 0 of 67 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. util/syncutil/mutex_deadlock.go, line 21 [r1] (raw file):
|
Review status: 0 of 67 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. util/syncutil/mutex_deadlock.go, line 21 [r1] (raw file):
|
For now, this is using dummy build tags because using go-deadlock causes builds to fail in non-trivial ways.
Review status: 0 of 67 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. util/syncutil/mutex_deadlock.go, line 21 [r1] (raw file):
|
Fixes #7972.
This change is