-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of31-feedbackbugfeature: sharingperformance 🚀
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Detected the issue in the following scenario:
User A has 40K+ shared folders
User A share one of those folders with User B
User B experiences slowness because it has to cope with the 40K+ mount points
server/apps/files_sharing/lib/SharedStorage.php
Lines 443 to 444 in 8995272
| $mounts = $userMountCache->getMountsForStorageId($node->getStorageId()); | |
| foreach ($mounts as $mount) { |
The query was triggered by "Text" app's rich workspaces:
Expected behavior
User B should not experience that slowness when loading its files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care of31-feedbackbugfeature: sharingperformance 🚀
Type
Projects
Status
🏗️ In progress
