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

jsoncs3 cache fixes #4532

Merged
merged 1 commit into from
Feb 21, 2024
Merged

jsoncs3 cache fixes #4532

merged 1 commit into from
Feb 21, 2024

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Feb 21, 2024

The jsoncs3 share manager now retries persisting if the file already existed and picks up the etag of the upload response in all cases.

Fixes some fallout caused by #4528 which was only detected in the ocs testsuite: owncloud/ocis#8412 (comment)

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic requested review from labkode, glpatcern and a team as code owners February 21, 2024 07:27
@butonic butonic self-assigned this Feb 21, 2024
@butonic butonic requested a review from aduffeck February 21, 2024 07:28
if err != nil {
span.RecordError(err)
span.SetStatus(codes.Error, err.Error())
return err
}
rss.etag = res.Etag
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was missing.

Copy link
Contributor

@aduffeck aduffeck left a comment

Choose a reason for hiding this comment

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

lgtm

@butonic butonic merged commit cac6c69 into cs3org:edge Feb 21, 2024
9 checks passed
@micbar micbar mentioned this pull request Feb 26, 2024
71 tasks
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