nextcloud/tests/lib/Files/ObjectStore
Christoph Fiehe dec5a5fe9b 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-29 15:53:48 +00:00
..
AzureTest.php fix using FSEEK_END with SeekableHttpStream to get file size 2022-09-15 17:23:16 +02:00
FailDeleteObjectStore.php set mimetype for objects uploaded to object storages 2021-04-21 15:25:58 +02:00
FailWriteObjectStore.php set mimetype for objects uploaded to object storages 2021-04-21 15:25:58 +02:00
LocalTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MapperTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
ObjectStoreScannerTest.php repair -1 folder sizes for object store background scan 2023-05-10 19:33:26 +02:00
ObjectStoreStorageOverwrite.php test disabling write check 2022-10-26 18:45:59 +00:00
ObjectStoreStoragesDifferentBucketTest.php perf(ObjectStoreStorage): Improve (slow) move on same object bucket 2024-10-29 15:53:48 +00:00
ObjectStoreStoragesSameBucketTest.php perf(ObjectStoreStorage): Improve (slow) move on same object bucket 2024-10-29 15:53:48 +00:00
ObjectStoreStorageTest.php test: fix incorrect ltrim usage in test 2024-10-08 18:14:26 +02:00
ObjectStoreTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
S3Test.php store unencrypted size in the unencrypted_size column 2022-08-16 13:54:26 +02:00
SwiftTest.php add ci for swift primary storage 2018-02-08 15:18:25 +01:00