Skip to content

Conversation

@provokateurin
Copy link
Member

Summary

Fixes #52957.
On each setup of the FS the home mount for the user was added to the oc_mounts table (while already being present), so a lot of unnecessary overhead.

Checklist

@provokateurin provokateurin added this to the Nextcloud 32 milestone May 20, 2025
@provokateurin provokateurin requested a review from a team as a code owner May 20, 2025 07:01
@provokateurin provokateurin requested review from nfebe and removed request for a team May 20, 2025 07:01
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

Looks sane to me.

Any reason IHomeMountProvider and IRootMountProvider are not extending IMountProvider ?
Looks like an oversight to me.

@provokateurin
Copy link
Member Author

Any reason IHomeMountProvider and IRootMountProvider are not extending IMountProvider ?

No idea TBH

@provokateurin provokateurin force-pushed the fix/setupmanager/home-root-providers-register-mounts branch from 13de209 to ecfa58d Compare May 20, 2025 07:46
@provokateurin provokateurin enabled auto-merge May 20, 2025 12:04
@provokateurin provokateurin merged commit 08b9eca into master May 20, 2025
203 of 207 checks passed
@provokateurin provokateurin deleted the fix/setupmanager/home-root-providers-register-mounts branch May 20, 2025 12:17
@provokateurin
Copy link
Member Author

/backport to stable31

@provokateurin
Copy link
Member Author

/backport to stable30

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.

[Bug]: Already cached mounts are added over and over

5 participants