[TASK] Optimize persisting a dirty objectStorage
authorMarc Bastian Heinrichs <heinrichs@mbh-web.de>
Wed, 12 Dec 2012 21:00:24 +0000 (22:00 +0100)
committerMarc Bastian Heinrichs <typo3@mbh-software.de>
Fri, 12 Apr 2013 21:14:34 +0000 (23:14 +0200)
commit8290da21a0ebb2107e5a941e2fc8a86ae5c3267d
treefb05d86426fdf337c56434b229117fdab379f2c9
parentc4df59f77dd0c43ab05332609238e6044495146d
[TASK] Optimize persisting a dirty objectStorage

This change optimizes persisting a dirty objectStorage
by not removing and inserting/updating all relations,
but insert/update/remove only new/dirty relations.
In the issue a wiki page is linked with some additional infos.

Resolves: #28091
Releases: 6.1
Change-Id: I1e861b62df0379eb84126c7f70f82287e23f0bdd
Reviewed-on: https://review.typo3.org/3390
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
typo3/sysext/extbase/Classes/Persistence/Exception/IllegalRelationTypeException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/ColumnMap.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/BackendInterface.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php
typo3/sysext/extbase/Tests/Unit/Persistence/ObjectStorageTest.php