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

Fix size calculation on copying the skeleton files #34834

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Oct 27, 2022

Use proper storage methods to copy the skeleton files as otherwise the size propagation for the newly added files (and the user quota usage) will be wrong after the first login with object storage.

For local storage this works fine as the files are getting scanned afterwards.

otherwise the filecache will have a wrong size for skeleton files

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr requested review from icewind1991, CarlSchwan, a team and come-nc and removed request for a team October 27, 2022 06:49
@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels Oct 27, 2022
@juliusknorr juliusknorr added this to the Nextcloud 26 milestone Oct 27, 2022
@juliusknorr juliusknorr requested a review from a team October 31, 2022 16:04
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81 PVince81 merged commit 966ee67 into master Nov 4, 2022
@PVince81 PVince81 deleted the bugfix/noid/skeleton-size-calc branch November 4, 2022 16:23
@PVince81
Copy link
Member

PVince81 commented Nov 4, 2022

backports needed ?

@juliusknorr
Copy link
Member Author

Yes, would be good.

@juliusknorr
Copy link
Member Author

/backport to stable25

@juliusknorr
Copy link
Member Author

/backport to stable24

@juliusknorr
Copy link
Member Author

/backport to stable23

@backportbot-nextcloud
Copy link

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

@backportbot-nextcloud
Copy link

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

@backportbot-nextcloud
Copy link

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

@nickvergessen
Copy link
Member

Brings a strange regression on 24 + 23
#35049 (comment)

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 bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants