Skip to content
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

Fix for race on sub sync type setting #447

Merged
merged 3 commits into from
Mar 14, 2019
Merged

Fix for race on sub sync type setting #447

merged 3 commits into from
Mar 14, 2019

Conversation

derekcollison
Copy link
Member

This can occur when a sync or queue sync subscription is being created at the same time the connection is being closed.

google/go-cloud#1556

Signed-off-by: Derek Collison [email protected]

/cc @vangent

@coveralls
Copy link

coveralls commented Mar 14, 2019

Coverage Status

Coverage decreased (-0.04%) to 92.506% when pulling e97711f on race-sync-sub into 9c9a6d2 on master.

Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

Not sure this is the right approach..

nats.go Outdated Show resolved Hide resolved
context.go Show resolved Hide resolved
Signed-off-by: Derek Collison <[email protected]>
@derekcollison derekcollison merged commit 3c1cfc5 into master Mar 14, 2019
@derekcollison derekcollison deleted the race-sync-sub branch March 14, 2019 20:53
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.

3 participants