Skip to content

delete race condition during backup #24358

@xuefer

Description

@xuefer

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

during backup, select multiple photos and/or videos, delete. (confirm when asked). all selected are deleted from phone locally, but assets that get uploaded during this backup session, is kept on server

The OS that Immich Server is running on

Gentoo

Version of Immich Server

v2.0.1

Version of Immich Mobile App

2.2.3 build 235

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

iPhone 6S

Your docker-compose.yml content

irrelevant

Your .env content

irrelevant

Reproduction steps

  1. take 1 photo and 1 video, repeat this multiple times to make longer backup time
  2. open immich, let backup start (check the sync icon)
  3. select photos/videos that just took, which are being backup
  4. select delete, confirm
    ...

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions