nextcloud/lib/private/Files/ObjectStore
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
..
AppdataPreviewObjectStoreStorage.php refactor(objectstorage): cleanup types 2024-02-02 14:59:21 +01:00
Azure.php fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
HomeObjectStoreStorage.php refactor(objectstorage): cleanup types 2024-02-02 14:59:21 +01:00
Mapper.php Implement multibucket shift for ObjectStore 2021-11-11 15:09:28 +01:00
ObjectStoreScanner.php also updated parent etags when a changed etag is detected during scanning 2024-01-31 18:06:18 +01:00
ObjectStoreStorage.php perf(ObjectStoreStorage): Improve (slow) move on same object bucket 2024-10-30 08:28:52 +00:00
S3.php fix(s3): add SSE-C parameters to headObject call 2023-07-30 22:54:58 +02:00
S3ConfigTrait.php fix(S3ConfigTrait): Allow proxy field to take false 2024-09-15 17:18:15 +00:00
S3ConnectionTrait.php fix(s3): suppress php deprecation warning on php8 2024-09-26 12:38:05 +02:00
S3ObjectTrait.php fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
S3Signature.php Refactors "strpos" calls in lib/private to improve code readability. 2023-05-15 15:17:19 +03:30
StorageObjectStore.php fix: fix object store id for test object store 2024-09-19 17:44:41 +02:00
Swift.php fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
SwiftFactory.php fix: make swift connect exception message more informative 2024-09-10 14:46:21 +00:00
SwiftV2CachingAuthService.php Update php licenses 2021-06-04 22:02:41 +02:00