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

[Request] Incremental sync #749

Open
i2dcarrasco opened this issue Jun 10, 2024 · 0 comments
Open

[Request] Incremental sync #749

i2dcarrasco opened this issue Jun 10, 2024 · 0 comments

Comments

@i2dcarrasco
Copy link

Hello,

I am migrating a Wordpress site to Cloud Run, and I am using GFuse for the statics part. This works, but is not stable so I am trying your plugin to remove the mount point and just use an Storage.

The first step is to sync all the media files, and I have noticed that the process seems to be full all the time, ignoring if any of the files was already uploaded. This is fine most of the time and is a good choice to ensure that all files are in sync, but can be a big problem when you have several files. I have got two different scenarios that ended in the same problem (GKE + NFS and Cloud Run + GFuse), so I am sure that is not a GFuse only problem. The problem is that when the process fails and some files were not uploaded, you have to fully restart the process. For example, now I am uploading +5000 files, which takes several hours. In case of an error (which for sure will happens because the GFuse), I am not able to check if any of the uploads has failed and then to be sure I have to fully check the media manager, or to resync several times.

My request is the possiblitity of to track which files were already uploader (keeping an status database or checking if the media URL matches the final URL for example), and then skip the already processed files of course keeping the possibility of fully sync again. Maybe now is doing it in any way, but is not the sensation I have because it take a very long time and looks like it was doing the whole process again.

Best regards.

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