Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[stable33] perf(sharing): Avoid loading all shares from all users when unsharing#58658

Merged
AndyScherzinger merged 2 commits intostable33from
backport/58057/stable33
Mar 3, 2026
Merged

[stable33] perf(sharing): Avoid loading all shares from all users when unsharing#58658
AndyScherzinger merged 2 commits intostable33from
backport/58057/stable33

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Mar 2, 2026

Backport of #58057

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

First check which users have a shares and for which providers and then
only load these shares.

Avoid doing at most 5 SQL queries for each users a share was shared with if
there are no shares.

Signed-off-by: Carl Schwan <[email protected]>
@CarlSchwan CarlSchwan force-pushed the backport/58057/stable33 branch from 653efb2 to 212ea44 Compare March 2, 2026 11:38
@CarlSchwan CarlSchwan marked this pull request as ready for review March 2, 2026 11:40
@CarlSchwan CarlSchwan requested a review from a team as a code owner March 2, 2026 11:40
@CarlSchwan CarlSchwan requested review from Altahrim, ArtificialOwl and icewind1991 and removed request for a team March 2, 2026 11:40
@CarlSchwan CarlSchwan force-pushed the backport/58057/stable33 branch 2 times, most recently from bfc4183 to f65314c Compare March 2, 2026 13:09
@CarlSchwan CarlSchwan force-pushed the backport/58057/stable33 branch from f65314c to 94c4235 Compare March 2, 2026 15:07
@AndyScherzinger AndyScherzinger merged commit e3d0ead into stable33 Mar 3, 2026
216 of 223 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/58057/stable33 branch March 3, 2026 06:47
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.

3 participants