Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecoverable filesystem sync when lots of files change (KeyError) #180

Open
mcr-ksh opened this issue Aug 6, 2019 · 1 comment
Open

Comments

@mcr-ksh
Copy link

mcr-ksh commented Aug 6, 2019

Latest PydioSync 2.2.0 produces unrecoverable error on pydio-sync and Pydio8.

System:

  • macOS 10.14.6 (PydioSync 2.2.0)
  • Pydio8 8.2.3 (Ubuntu Bionic)

When moving lots of files (373 and 13GB) in my case to a folder the client will react the following and will never recover the filesystem:

image

To notice a difference between a functioning sync and this error:
The line "Processing XX changes" is printed after "Reducing changes for-my-files"
On a non-functioning sync the "Processing XX changes" is not present, leading to the "KeyError". I could only guess that this is somehow related to a race-condition of the Filesystem changes not recognised before the actual sync kicks off.
Any clue?

`
2019-08-06 22:22:13 INFO123145479970816 Thread-1 pydio.job.continous_merger : 495 | run | Loading remote changes with sequence 141841 for job id-my-files
2019-08-06 22:22:14 INFO123145479970816 Thread-1 pydio.job.continous_merger : 543 | run | Loading local changes with sequence 11504 for job id-my-files
2019-08-06 22:22:14 INFO123145479970816 Thread-1 pydio.job.continous_merger : 572 | run | Reducing changes for-my-files
2019-08-06 22:22:47 ERROR 123145479970816 Thread-1 pydio.job.change_stores : 643 | stat_path | u'/Private/Pictures/Something/IMG_1832.jpg'
Traceback (most recent call last):
File "/Users/charles/Desktop/TeamCity/buildAgent/work/19045f4c63bc432e/build/pydio-agent/out01-PYZ.pyz/pydio.job.change_stores", line 641, in stat_path
KeyError: u'/Private/Pictures/Something/IMG_1832.jpg'
2019-08-06 22:22:48 ERROR 123145479970816 Thread-1 pydio.job.change_stores : 643 | stat_path | u'/Private/Pictures/Something/IMG_1834.jpg'
Traceback (most recent call last):
File "/Users/charles/Desktop/TeamCity/buildAgent/work/19045f4c63bc432e/build/pydio-agent/out01-PYZ.pyz/pydio.job.change_stores", line 641, in stat_path
KeyError: u'/Private/Pictures/Something/IMG_1834.jpg'
2019-08-06 22:22:49 ERROR 123145479970816 Thread-1 pydio.job.change_stores : 643 | stat_path | u'/Private/Pictures/Something/IMG_1835.jpg'
Traceback (most recent call last):
File "/Users/charles/Desktop/TeamCity/buildAgent/work/19045f4c63bc432e/build/pydio-agent/out01-PYZ.pyz/pydio.job.change_stores", line 641, in stat_path
KeyError: u'/Private/Pictures/Something/IMG_1835.jpg'
2019-08-06 22:22:50 ERROR 123145479970816 Thread-1 pydio.job.change_stores : 643 | stat_path | u'/Private/Pictures/Something/IMG_1839.jpg'
Traceback (most recent call last):
File "/Users/charles/Desktop/TeamCity/buildAgent/work/19045f4c63bc432e/build/pydio-agent/out01-PYZ.pyz/pydio.job.change_stores", line 641, in stat_path
KeyError: u'/Private/Pictures/Something/IMG_1839.jpg'
2019-08-06 22:22:51 ERROR 123145479970816 Thread-1 pydio.job.change_stores : 643 | stat_path | u'/Private/Pictures/Something/IMG_1841.jpg'
Traceback (most recent call last):
File "/Users/charles/Desktop/TeamCity/buildAgent/work/19045f4c63bc432e/build/pydio-agent/out01-PYZ.pyz/pydio.job.change_stores", line 641, in stat_path
KeyError: u'/Private/Pictures/Something/IMG_1841.jpg'

@mcr-ksh mcr-ksh changed the title Unrecoverable Filesystem sync when lots of files change (KeyError) Unrecoverable filesystem sync when lots of files change (KeyError) Aug 6, 2019
@mcr-ksh
Copy link
Author

mcr-ksh commented Aug 6, 2019

I was just able to confirm that v1.2.8 does not have this Problem and detected the > 1000 changes and is uploading, while the 2.2.0 failed around 100 changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant