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-tag-race-condition #170

Merged
merged 8 commits into from
Mar 15, 2024
Merged

Fix-tag-race-condition #170

merged 8 commits into from
Mar 15, 2024

Conversation

jt-dd
Copy link
Contributor

@jt-dd jt-dd commented Mar 15, 2024

During the system stumbled on a race condition in the tags. This bug is triggered when the slice for the tags grows enough that it requires a new allocation.
This fix should prevent most of the race condition.

Ref: https://medium.com/@cep21/gos-append-is-not-always-thread-safe-a3034db7975

@jt-dd jt-dd requested a review from a team as a code owner March 15, 2024 09:29
@jt-dd jt-dd merged commit ae53c01 into main Mar 15, 2024
7 checks passed
@jt-dd jt-dd deleted the jt-dd/fix-tag-race-condition branch March 15, 2024 11:59
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