Skip to content

make cycleDetector.stopped atomic - #3591

Open
gzvolsky-tm wants to merge 1 commit into
masterfrom
gzvolsky/fix-cycle-detector-race
Open

make cycleDetector.stopped atomic#3591
gzvolsky-tm wants to merge 1 commit into
masterfrom
gzvolsky/fix-cycle-detector-race

Conversation

@gzvolsky-tm

Copy link
Copy Markdown
Contributor

Fixes the flaky build-darwin job and adds a regression test for the race with go state.checkForCycles() in src/core/state.go. The main goroutine can call Stop while the async check is in flight.

Fixes the flaky build-darwin job and adds a regression test for the race
with `go state.checkForCycles()` in `src/core/state.go`. The main
goroutine can call Stop while the async check is in flight.

@peterebden peterebden left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate this, and it looks good, but I've addressed this in #3569 and would really like to get that reviewed and merged before making further changes to the existing setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants