Skip to content

[stable33] fix(files): keep deleting live photo peers after a missing one - #64697

Closed
backportbot[bot] wants to merge 1 commit into
stable33from
backport/64690/stable33
Closed

backportbot[bot] wants to merge 1 commit into
stable33from
backport/64690/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Backport of #64690

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

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • 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.

fix(files): keep deleting live photo peers after a missing one

handleCacheEntriesRemovedEvent() returned from the loop as soon as one

peer could not be found, so every remaining peer in the same batch was

left behind. This happens whenever both halves of a live photo are in

the removed tree, since the first half is already gone when its peer id

is looked up.

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

[skip ci]
@backportbot backportbot Bot added bug 3. to review Waiting for reviews labels Sep 23, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.10 milestone Sep 23, 2026
@solracsf solracsf closed this Sep 23, 2026
@solracsf solracsf reopened this Sep 23, 2026
@solracsf solracsf closed this Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant