Skip to content

fix(perf): use index when deleting old previews#58403

Open
Altahrim wants to merge 1 commit intomasterfrom
fix/slow-delete
Open

fix(perf): use index when deleting old previews#58403
Altahrim wants to merge 1 commit intomasterfrom
fix/slow-delete

Conversation

@Altahrim
Copy link
Collaborator

@Altahrim Altahrim commented Feb 18, 2026

On oc_filecache the relevant index is:

  UNIQUE KEY `fs_storage_path_hash` (`storage`,`path_hash`),

So, we need to include storage to be able to use it

@Altahrim Altahrim self-assigned this Feb 18, 2026
@Altahrim Altahrim requested a review from a team as a code owner February 18, 2026 14:47
@Altahrim Altahrim added the 3. to review Waiting for reviews label Feb 18, 2026
@Altahrim Altahrim requested review from ArtificialOwl, CarlSchwan, artonge, come-nc, leftybournes and salmart-dev and removed request for a team February 18, 2026 14:47
@artonge artonge added this to the Nextcloud 34 milestone Feb 18, 2026
@artonge
Copy link
Contributor

artonge commented Feb 18, 2026

/backport to stable33

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments