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(kuma-cp) call eventWriter.Send in a separate goroutine #1695

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

lobkovilya
Copy link
Contributor

@lobkovilya lobkovilya commented Mar 17, 2021

Summary

A small problem that may cause a deadlock on Memory storage.

Full changelog

  • call eventWriter.Send in a separate goroutine

Documentation

  • not needed

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
@lobkovilya lobkovilya requested a review from a team as a code owner March 17, 2021 05:30
@jakubdyszkiewicz
Copy link
Contributor

did you have any example of this?

@lobkovilya
Copy link
Contributor Author

@jakubdyszkiewicz yep, I noticed it while debugging race condition on ExternalServices

@lobkovilya lobkovilya merged commit 0fd45e6 into master Mar 17, 2021
@lobkovilya lobkovilya deleted the fix/memory-store-deadlock branch March 17, 2021 11:19
mergify bot pushed a commit that referenced this pull request Mar 17, 2021
nickolaev pushed a commit that referenced this pull request Mar 18, 2021
(cherry picked from commit 0fd45e6)

Co-authored-by: Ilya Lobkov <ilya.lobkov@konghq.com>
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