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

use context to wait for cancelation on GetObject() #1666

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

harshavardhana
Copy link
Member

@harshavardhana harshavardhana commented Jun 17, 2022

it is potentially possible that the caller has canceled
the context, however the GetObject() go-routine will
be stuck forever since no one is reading anymore.

@harshavardhana harshavardhana force-pushed the honor-context branch 2 times, most recently from 291398a to 0dd6dc1 Compare June 17, 2022 06:28
it is potentially possible that caller has canceled
the context, however the GetObject() go-routine will
be stuck forever since no one is reading anymore.
Copy link
Contributor

@klauspost klauspost 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 ad1e06e into minio:master Jun 17, 2022
@harshavardhana harshavardhana deleted the honor-context branch June 17, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants