Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

fix bug : concurrency error is modified by other goroutines #1013

Merged
merged 2 commits into from
Dec 4, 2019

Conversation

fengve
Copy link
Contributor

@fengve fengve commented Nov 11, 2019

#1000

Concurrent bug in ReadTopologyInstanceBufferable

Copy link
Collaborator

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

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

Thank you -- looks good!

Copy link
Collaborator

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

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

I very much appreciate this PR, and it is good and correct. However, I prefer to use atomic.Error since this seems to be an already existing mechanism.
I'll draft an alternative PR.

@shlomi-noach
Copy link
Collaborator

Uhhhh... forget about that! My mistake.

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=concertmaster December 4, 2019 10:20 Inactive
@shlomi-noach shlomi-noach merged commit f970c04 into openark:master Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants