Skip to content

Conversation

@icewind1991
Copy link
Member

  • extend MountManager to allow getting mounts by provider
  • change getById implementation to not perform a full filesystem setup if not needed
  • allow calling getById on LazyUserFolder without constructing the actual user folder.
  • don't do a full setup for findByStorageId

This saves having to do a full filesystem setup in order to get the source of a share, resulting in a significant reduction in database requests when handling shared storages.

@icewind1991 icewind1991 added this to the Nextcloud 24 milestone Mar 31, 2022
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, PVince81 and come-nc and removed request for a team March 31, 2022 11:35
@icewind1991 icewind1991 added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Mar 31, 2022
@icewind1991 icewind1991 force-pushed the share-limited-owner-setup branch 2 times, most recently from c74e6ce to 5480d58 Compare March 31, 2022 12:50
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.

👍 code looks good, see code scanning issues if applicable

@PVince81 PVince81 requested review from CarlSchwan and artonge March 31, 2022 13:33
@icewind1991 icewind1991 force-pushed the share-limited-owner-setup branch from 5480d58 to 7f4ce2d Compare March 31, 2022 15:25
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the share-limited-owner-setup branch 2 times, most recently from ec6eb43 to 7c367b6 Compare April 4, 2022 13:21
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the share-limited-owner-setup branch from 7c367b6 to d5953e5 Compare April 4, 2022 13:41
@icewind1991
Copy link
Member Author

CI has no more nitpicks

@icewind1991 icewind1991 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Apr 5, 2022
@icewind1991 icewind1991 requested a review from come-nc April 5, 2022 12:32
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.

🐘

@PVince81 PVince81 merged commit 0cdf03b into master Apr 5, 2022
@PVince81 PVince81 deleted the share-limited-owner-setup branch April 5, 2022 15:05
@blizzz blizzz mentioned this pull request Apr 7, 2022
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.

4 participants