fix(auto-upload): clean stale upload entities#16712
fix(auto-upload): clean stale upload entities#16712alperozturk96 wants to merge 8 commits intomasterfrom
Conversation
|
APK file: https://github.com/nextcloud/android/actions/runs/23338813176/artifacts/6023879981 |
|
APK file: https://github.com/nextcloud/android/actions/runs/23340161367/artifacts/6024223748 |
app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
Outdated
Show resolved
Hide resolved
bd358dd to
cf352c1
Compare
|
APK file: https://github.com/nextcloud/android/actions/runs/23589729348/artifacts/6121126347 |
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me> # Conflicts: # app/src/main/java/com/nextcloud/client/database/dao/FileSystemDao.kt
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
…pload folder Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
98ef76d to
841c178
Compare
|
APK file: https://github.com/nextcloud/android/actions/runs/23592927079/artifacts/6122748899 |
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
APK file: https://github.com/nextcloud/android/actions/runs/23594975309/artifacts/6123530655 |

Issue
When a synced folder is disabled or deleted, its associated
OCUploadentries in the uploadstable must be cleaned up. Without this, stale upload entries outlive the folder config that
created them, causing
FileUploadWorkerto keep retrying uploads for a folder that no longerexists or is intentionally turned off, and
AutoUploadWorkerto re-queue already handled fileson its next scan via
FileSystemRepository.getFilePathsWithIds.