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: avoid data race by copying the buffer #1357

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

harshavardhana
Copy link
Member

fixes #1355

Copy link
Collaborator

@kannappanr kannappanr left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

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

LGTM

@harshavardhana harshavardhana merged commit f0c6c8f into minio:master Aug 4, 2020
@harshavardhana harshavardhana deleted the fix-data-race branch August 4, 2020 16:30
bwplotka added a commit to bwplotka/minio-go that referenced this pull request Mar 24, 2021
Reverted: minio#1357

Signed-off-by: Bartlomiej Plotka <[email protected]>
bwplotka added a commit to bwplotka/minio-go that referenced this pull request Mar 24, 2021
Reverted: minio#1357

Signed-off-by: Bartlomiej Plotka <[email protected]>
@bwplotka
Copy link
Contributor

bwplotka commented Jul 5, 2022

Proposed improvement of this path: #1673. Do you have any test that reproduces this problem on latest Go version?

It introduced large allocation problem.

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.

PubObject - possible data race ?
4 participants