nextcloud/lib/private/Files
Christoph Fiehe 82be489f53 perf(ObjectStoreStorage): Improve (slow) move on same object bucket
This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage.

The behavior improves a lot with https://github.com/nextcloud/server/pull/46013. However, there are still some put messages that are being sent to the object storage when you use an object storage as primary storage and upload files into a group folder.

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-09-19 18:53:36 +02:00
..
AppData chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Cache fix(files): Adjust Cache::searchQuery() parameter name to match interface 2024-09-13 17:02:33 +00:00
Config fix: ensure array returned from getMountsForFileId is continious 2024-08-02 17:22:33 +02:00
Lock chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Mount chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Node fix: Do not fail to get internal path on NonExistingFile/NonExistingFolder 2024-09-03 00:40:03 +02:00
Notify chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ObjectStore perf(ObjectStoreStorage): Improve (slow) move on same object bucket 2024-09-19 18:53:36 +02:00
Search chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SimpleFS chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Storage chore: improve hash_file php usage in Local Storage 2024-09-16 17:08:10 +00:00
Stream chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Template fix: Only write once to template instead of create/copy 2024-09-10 08:07:26 +00:00
Type chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Utils chore: Add SPDX header 2024-05-24 13:11:22 +02:00
FileInfo.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
FilenameValidator.php fix: Also validate parent path in verifyPath 2024-08-28 20:24:03 +02:00
Filesystem.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SetupManager.php feat: store the mountpoint of storages in the mount options 2024-08-20 14:24:43 +00:00
SetupManagerFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
View.php fix(files): Check if the target path is a descendant of the shared folder path 2024-09-06 02:00:43 +00:00