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

keep failed processing status #4470

Merged
merged 3 commits into from
Jan 24, 2024

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jan 22, 2024

backport of #4449 to stable 2.16
also requires backport of #4451

full ocis ci run in owncloud/ocis#8262

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic requested review from a team, labkode and glpatcern as code owners January 22, 2024 16:04
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@@ -261,7 +263,7 @@ func (upload *Upload) FinishUpload(_ context.Context) error {

n, err := CreateNodeForUpload(upload, attrs)
if err != nil {
Cleanup(upload, true, false)
Cleanup(upload, true, false, true)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

postprocessing has not started, yet, so we might change this to

Suggested change
Cleanup(upload, true, false, true)
Cleanup(upload, true, false, false)

opinions?

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic marked this pull request as ready for review January 24, 2024 14:49
@butonic butonic merged commit 29d7b81 into cs3org:stable-2.16 Jan 24, 2024
9 checks passed
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