We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running code with -race that publishes from multiple goroutines at the same time:
-race
WARNING: DATA RACE Write at 0x00c002c291d8 by goroutine 1498: github.com/ThreeDotsLabs/watermill-googlecloud/pkg/googlecloud.(*Publisher).Publish() github.com/ThreeDotsLabs/[email protected]/pkg/googlecloud/publisher.go:149 +0xe4 [...] Previous write at 0x00c002c291d8 by goroutine 1439: github.com/ThreeDotsLabs/watermill-googlecloud/pkg/googlecloud.(*Publisher).Publish() github.com/ThreeDotsLabs/[email protected]/pkg/googlecloud/publisher.go:149 +0xe4 [...]
Line 149 is:
t.EnableMessageOrdering = p.config.EnableMessageOrdering
which is a write to a shared Topic without synchronization.
Topic
The text was updated successfully, but these errors were encountered:
Fixed in ThreeDotsLabs/watermill-googlecloud#33
Sorry, something went wrong.
No branches or pull requests
Running code with
-race
that publishes from multiple goroutines at the same time:Line 149 is:
which is a write to a shared
Topic
without synchronization.The text was updated successfully, but these errors were encountered: