Closed JC-comp closed 4 months ago
@JC-comp Please re-read my reasoning as you are not understanding the code.
@abraunegg This is a bug report concerning file inconsistency that remote files are not being downloaded in this case. To confirm, is this inconsistency expected behavior and not a bug that needs to be fixed?
This is why --resync
exists to fix sync inconsistencies
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug
Remote files fail to download if download activity is interrupted without resynchronization. #2637 is to address this issue.
Operating System Details
Client Installation Method
From Source
OneDrive Account Type
Personal
What is your OneDrive Application Version
v2.5.0-alpha-5 GitHub version: v2.4.25-80-ge895a11
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
-
Steps to reproduce the behaviour
$ for i in {1..100}; do touch $i; done $ onedrive --sync $ rm * $ onedrive --sync --resync // Interrupt during download process Downloading file ./39 ... done Downloading file ./49 ... done Downloading file ./12 ... done ^C $ onedrive --sync // files are not in sync
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response