Skip to content

[stable-3.16] Bugfix/slow bulk upload - #8139

Merged
mgallien merged 12 commits into
stable-3.16from
backport/8048/stable-3.16
Apr 10, 2025
Merged

[stable-3.16] Bugfix/slow bulk upload#8139
mgallien merged 12 commits into
stable-3.16from
backport/8048/stable-3.16

Conversation

@backportbot

@backportbot backportbot Bot commented Apr 10, 2025

Copy link
Copy Markdown

Backport of #8048

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot
backportbot Bot requested review from mgallien and nilsding April 10, 2025 12:32
@backportbot backportbot Bot added this to the 3.16.3 milestone Apr 10, 2025
@mgallien
mgallien force-pushed the backport/8048/stable-3.16 branch from dfb1a93 to 6ca3307 Compare April 10, 2025 12:50
@mgallien
mgallien marked this pull request as ready for review April 10, 2025 12:50
@mgallien
mgallien enabled auto-merge April 10, 2025 12:50
@mgallien
mgallien force-pushed the backport/8048/stable-3.16 branch from 6ca3307 to 3a46600 Compare April 10, 2025 12:51
Camila and others added 12 commits April 10, 2025 14:54
- Cancel sync after try with smaller bulk upload batch size also throws error.
- Continue syncing when there is no error.
- Remove file from bulk upload black list only when upload succeeded.

Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
should help make it faster to send all data

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>
data of the files are ready in a memory buffer so Qt will not buffer
them anyway

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>
will be important to try to see upload performance bottlenecks

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien
mgallien force-pushed the backport/8048/stable-3.16 branch from 3a46600 to b352ab5 Compare April 10, 2025 12:56
@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-8139.zip

SHA256 checksum: 8d161d3a390f133bd5114cda989d82e508015e073e3d906422cbe87a99f9e710

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.

@mgallien
mgallien merged commit 3a96497 into stable-3.16 Apr 10, 2025
@mgallien
mgallien deleted the backport/8048/stable-3.16 branch April 10, 2025 13:09
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
72.0% Coverage on New Code (required ≥ 80%)
5 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@mgallien
mgallien restored the backport/8048/stable-3.16 branch April 10, 2025 13:33
@mgallien
mgallien deleted the backport/8048/stable-3.16 branch April 10, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants