nextcloud/tests/lib
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
..
Accounts fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
Activity composer run cs:fix 2023-01-20 11:45:08 +01:00
App fix(AppDiscoverFetcher): Do not remove entries as expired that have no expiry date 2024-03-19 09:36:06 +01:00
AppFramework fix(Entity): Fix magic setter call for custom strong typed setters 2024-09-16 13:52:18 +00:00
Archive Avoid Deprecation warning from Zip tests on PHP 8.1 2021-12-16 09:58:40 +01:00
Authentication fix: crypto added manually as expected 2024-10-28 18:47:05 +05:30
Avatar test: Update tests 2024-04-11 14:56:21 +02:00
BackgroundJob test: update DummyJobList 2024-07-10 20:29:36 +02:00
Cache Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
Calendar composer run cs:fix 2023-01-20 11:45:08 +01:00
Collaboration fix(federation): Fix missing protocol on CloudID remote 2024-06-27 13:00:43 +00:00
Command Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs 2024-02-08 18:27:44 +01:00
Comments fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
Contacts/ContactsMenu test(php): Fix the unit tests 2024-01-31 10:44:40 +01:00
DB fix(db): Prevent two connections for single node databases 2024-05-28 09:45:18 +00:00
Diagnostics chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
DirectEditing feat(directediting): Allow opening by file id 2023-02-20 12:16:34 +01:00
Encryption add key location to info:file output 2024-02-01 15:32:33 +01:00
Federation fix(federation): Fix missing protocol on CloudID remote 2024-06-27 13:00:43 +00:00
Files perf(ObjectStoreStorage): Improve (slow) move on same object bucket 2024-10-30 08:28:52 +00:00
GlobalScale Adapt tests to config value typing 2023-04-05 17:42:14 +02:00
Group fix(groups): allows to save group names with more than 64 characters 2024-05-16 17:57:41 +02:00
Hooks Remove unused private ForwardEmitter and LegacyEmitter 2020-10-28 22:23:39 +01:00
Http Adjust tests to match new expected exception 2024-02-24 11:34:34 +01:00
IntegrityCheck feat(appconfig): switching integrity check to lazy config values 2024-03-11 10:59:43 -01:00
L10N fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
Lock restore shared lock ttl when releasing 2023-12-21 15:14:27 +01:00
Lockdown Refactor OC\Server::getLockdownManager 2024-03-15 13:05:05 +01:00
Log add unit test for ExceptionSerializer 2022-07-29 12:07:41 +02:00
Mail fix(message): Fix logic of Mail test 2024-10-17 12:45:06 +00:00
Memcache adjust redis compareSetTTL to use a lua script 2023-12-21 15:14:27 +01:00
Migration fix: Make Repair object injectable and fix BackgroundRepair test 2024-02-01 09:49:32 +01:00
Net Add remote host validation API 2022-10-31 16:13:28 +01:00
Notification composer run cs:fix 2023-01-20 11:45:08 +01:00
OCS composer run cs:fix 2023-01-20 11:45:08 +01:00
Preview fix: Extend SVG reference check 2024-05-16 10:02:57 +02:00
PublicNamespace Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Remote Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Repair test: put parent items into cache in tests 2024-09-19 17:45:28 +02:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Route test: run tests in child process 2024-07-10 23:35:43 +02:00
Security fix: gracefully parse non-standard trusted certificates 2024-09-30 09:21:59 +02:00
Session fix(session): Log when session_* calls are slow 2024-08-07 10:44:58 +00:00
Settings fix: add missing copyrights and strict types 2024-03-12 18:14:40 +02:00
Share chore: remove long depricated share code 2024-03-06 15:24:48 +01:00
Share20 fix(share): Return empty string if no label is set 2024-10-15 16:56:59 +02:00
Support Adapt tests to config value typing 2023-04-05 17:42:14 +02:00
SystemTag fix: Move SystemTags events to IEventDispatcher 2023-07-27 09:57:52 +02:00
Talk Add a Talk API for OCP 2022-02-04 08:53:18 +01:00
Template fix(JSResourceLocator): Consider configured app roots for files 2024-02-29 17:27:20 +01:00
TextProcessing chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Traits fix(UserTrait): Fix backend initialization 2024-10-15 16:50:28 +02:00
Updater feat(upgrade): migration attributes 2024-08-06 22:41:35 -01:00
User fix: Make user removal more resilient 2024-10-15 16:50:27 +02:00
Util chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
AllConfigTest.php fix(config): Throw PreconditionException always when it didn't match 2024-09-13 11:41:01 +00:00
APITest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
AppConfigTest.php Merge pull request #44894 from nextcloud/backport/44644/stable29 2024-06-07 11:01:38 +02:00
AppScriptSortTest.php Sort app scripts topologically by its dependencies 2021-12-29 16:40:05 +01:00
AppTest.php feat(AppManager): Provide getAppIcon function 2024-03-07 22:40:31 +01:00
AutoLoaderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
CapabilitiesManagerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
ConfigTest.php fix(config): add envCache tests for getKeys() 2024-09-16 14:57:26 +00:00
ContactsManagerTest.php Fix ContactsManagerTest adressbook mocks having a null key 2023-09-05 09:20:26 +02:00
DateTimeFormatterTest.php chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps 2024-02-05 11:16:04 +01:00
EmojiHelperTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
ErrorHandlerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
EventSourceFactoryTest.php refactor: migrate OC_EventSource to dependency injection 2023-06-03 21:42:51 +02:00
FileChunkingTest.php Revert "fix(performance): Do not set up filesystem on every call" 2023-02-21 07:36:43 +01:00
HelperStorageTest.php only determine quota_include_external_storage once for quota wrapper 2023-08-18 14:25:28 +02:00
HookHelper.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
ImageTest.php increase preview_max_memory and make it easier to debug 2022-12-22 09:52:46 +01:00
InfoXmlTest.php chore: Drop \OC_App::getAppInfo 2023-06-01 11:31:27 +02:00
InitialStateServiceTest.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
InstallerTest.php Refactor OC\Server::getAppFetcher 2024-02-23 15:43:46 +01:00
LargeFileHelperGetFileSizeTest.php Move findBinaryFinder and isFunctionEnabled away from OC_Helper 2022-08-23 19:44:04 +02:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
LoggerTest.php fix(tests): Remove output when running tests 2024-07-03 16:03:44 +00:00
MemoryInfoTest.php Add helper to cast to int|float, fix MemoryInfo on 32bits 2023-02-07 11:23:29 +01:00
NaturalSortTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
NavigationManagerTest.php feat(AppManager): Provide getAppIcon function 2024-03-07 22:40:31 +01:00
RepairTest.php chore: use DI for \OC\Repair 2024-01-30 16:07:02 +01:00
ServerTest.php Refactor OC\Server::getCommentsManager 2024-03-15 13:14:06 +01:00
SetupTest.php fix: Use DI for Setup class and move away from deprecated methods 2024-01-29 15:28:00 +01:00
SubAdminTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TagsTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TemplateFunctionsTest.php fix: Correctly add module content type to script tags when scripts with versions are used 2023-07-18 13:10:37 +02:00
TempManagerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TestCase.php fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
TestMoveableMountPoint.php composer run cs:fix 2023-01-20 11:45:08 +01:00
UpdaterTest.php fix(updatenotification): spread the use of new appconfig 2024-03-13 02:22:11 -01:00
UrlGeneratorTest.php fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder 2023-11-20 11:18:47 +01:00
UtilCheckServerTest.php Convert isset ternary to null coalescing operator 2023-08-17 01:36:50 +02:00
UtilTest.php fix(Mailer): Allow to enforce strict email format 2024-06-07 17:16:21 +02:00