-
Notifications
You must be signed in to change notification settings - Fork 910
Feature/bulk create windows placeholders per folders (V1) #8568
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
Feature/bulk create windows placeholders per folders (V1) #8568
Conversation
|
version 1 of the optimized creation of Windows placeholder items (version 2 is #8547 which needs more love and may bring even faster sync) |
e11d48c to
9894592
Compare
9894592 to
1f5a3ad
Compare
d731c08 to
e7bff8e
Compare
5b50206 to
787df85
Compare
6aa8b0b to
3bc8a0c
Compare
try to use const and auto as much as possible remove useless constructor argument that is always using the default value makes code cleaner Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
this code does not make sense I tested manually and this code is never called I doubt this code is needed or useful Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
use the c++ standard way of requiring caller to care about the returned value Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
should allow to speed API calls to Windows CfApi by reducing their numbers by asking for a list of new placeholders via a single call instead of one for each new item Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
use the proper VFS plug-in API to request all files to be cerated as a single batch will now need a proper implementation using the batch Windows CfApi function Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
filter new placeholder items by invalid modtime and only proceed with creating only the valid ones Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
we should return false from BulkPropagatorDownloadJob::scheduleSelfOrChild() because we have no child jobs that are not done and waiting to be started ensure we update the job status only once (even in case of errors) ensure we update the state of the items once and only once Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
3bc8a0c to
1f0f5b0
Compare
|
Artifact containing the AppImage: nextcloud-appimage-pr-8568.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
|




No description provided.