nextcloud/tests/lib/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-13 17:41:36 +02:00
Cache chore: Apply php:cs recommendations 2024-08-28 14:54:14 +02:00
Config fix: make usermountcache compatible with sharding 2024-07-17 19:16:05 +02:00
Mount chore: Add SPDX header 2024-05-13 17:41:36 +02:00
Node fix: Renaming does not need update but delete permissions 2024-08-28 20:23:50 +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-13 17:41:36 +02:00
SimpleFS chore: Add SPDX header 2024-05-13 17:41:36 +02:00
Storage perf(ObjectStoreStorage): Improve (slow) move on same object bucket 2024-09-19 18:53:36 +02:00
Stream chore: Add SPDX header 2024-05-13 17:41:36 +02:00
Type chore: Add SPDX header 2024-05-13 17:41:36 +02:00
Utils chore: Add SPDX header 2024-05-13 17:41:36 +02:00
EtagTest.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
FileInfoTest.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
FilenameValidatorTest.php fix: FilenameValidator::isForbidden should only check forbidden files 2024-08-22 08:51:58 +02:00
FilesystemTest.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
PathVerificationTest.php fix: Adjust filename validation messages 2024-08-30 14:48:23 +02:00
ViewTest.php fix(files): Check if the target path is a descendant of the shared folder path 2024-09-06 02:00:43 +00:00