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

explicitly close source stream on object store upload even if count… #26832

Merged
merged 1 commit into from
May 21, 2021

Conversation

icewind1991
Copy link
Member

wrapper isn't needed

This might solve some issues around gc getting triggered before stream_close callbacks

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Apr 29, 2021
@icewind1991 icewind1991 added this to the Nextcloud 22 milestone Apr 29, 2021
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Fine with me 👍

@MorrisJobke MorrisJobke mentioned this pull request May 20, 2021
@juliusknorr juliusknorr merged commit b900d64 into master May 21, 2021
@juliusknorr juliusknorr deleted the object-close-stream-non-count branch May 21, 2021 09:30
@kesselb
Copy link
Contributor

kesselb commented Sep 20, 2021

/backport to stable21

@kesselb
Copy link
Contributor

kesselb commented Sep 20, 2021

/backport to stable20

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable21 failed. Please do this backport manually.

@kesselb
Copy link
Contributor

kesselb commented Sep 20, 2021

This might solve some issues around gc getting triggered before stream_close callbacks

This change is also relevant for the opposite case. If the stream is not closed explicitly a callback for stream_close might be executed too late.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants