nextcloud/tests/lib/Files/Storage
Christoph Fiehe 68b9972889 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-10-30 08:28:52 +00:00
..
Wrapper fix(users): Don't crash if disabled user is missing in the database 2024-09-23 18:08:17 +02:00
CommonTest.php fix: Enforce forbidden filename characters on backend 2024-02-28 22:19:25 +01:00
CopyDirectoryTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
HomeTest.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
LocalTest.php test: add test for nested jail cross-storage move 2024-10-29 10:41:24 +00:00
Storage.php make storage directory test be a bit less strict about mtimes 2024-02-07 12:13:00 +01:00
StorageFactoryTest.php Some php-cs fixes 2019-11-22 20:52:10 +01:00
StoragesTest.php perf(ObjectStoreStorage): Improve (slow) move on same object bucket 2024-10-30 08:28:52 +00:00