Skip to content

Conversation

@rhafer
Copy link

@rhafer rhafer commented Nov 19, 2025

When the postprocessing for a file results in e.g. the "PPOutcomeDelete" state it is not enough to just restore the metadata.
On posixfs we also need to restore the file blob itself as another concurrent upload might have written it's blob already into the revison node that was created during the postprocessing of the to be reverted upload.

Closes cs3org#1871

@rhafer
Copy link
Author

rhafer commented Nov 19, 2025

tested in: opencloud-eu/opencloud#1868

@rhafer rhafer self-assigned this Nov 19, 2025
@rhafer rhafer marked this pull request as ready for review November 19, 2025 13:19
@rhafer rhafer requested review from butonic and fschade November 19, 2025 13:19
When the postprocessing for a file results in e.g. the
"PPOutcomeDelete" state it is not enough to just restore the metadata.

On posixfs we also need to restore the file blob itself as another
concurrent upload might have written it's blob already into the revison
node that was created during the postprocessing of the to be reverted
upload.

Closes cs3org#1871
The filepermission for the uploaded blob included the 'executable (x)'
permission. We don't need that.
@butonic butonic merged commit 1b573c5 into opencloud-eu:main Nov 20, 2025
19 checks passed
@openclouders openclouders mentioned this pull request Nov 20, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants