File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 <step >OCA\DAV\Migration\RemoveOrphanEventsAndContacts</step >
4848 <step >OCA\DAV\Migration\RemoveClassifiedEventActivity</step >
4949 <step >OCA\DAV\Migration\RemoveDeletedUsersCalendarSubscriptions</step >
50+ <!-- expensive steps -->
51+ <step >OCA\DAV\Migration\DeleteSchedulingObjects</step >
52+ <step >OCA\DAV\Migration\RemoveObjectProperties</step >
5053 </post-migration >
5154 <live-migration >
5255 <step >OCA\DAV\Migration\ChunkCleanup</step >
Original file line number Diff line number Diff line change 1313use OCP \AppFramework \Utility \ITimeFactory ;
1414use OCP \BackgroundJob \IJobList ;
1515use OCP \Migration \IOutput ;
16- use OCP \Migration \IRepairStep ;
16+ use OCP \Migration \IRepairStepExpensive ;
1717
18- class DeleteSchedulingObjects implements IRepairStep {
18+ class DeleteSchedulingObjects implements IRepairStepExpensive {
1919 public function __construct (
2020 private IJobList $ jobList ,
2121 private ITimeFactory $ time ,
Original file line number Diff line number Diff line change 99use OCP \DB \QueryBuilder \IQueryBuilder ;
1010use OCP \IDBConnection ;
1111use OCP \Migration \IOutput ;
12- use OCP \Migration \IRepairStep ;
12+ use OCP \Migration \IRepairStepExpensive ;
1313
14- class RemoveObjectProperties implements IRepairStep {
14+ class RemoveObjectProperties implements IRepairStepExpensive {
1515 private const RESOURCE_TYPE_PROPERTY = '{DAV:}resourcetype ' ;
1616 private const ME_CARD_PROPERTY = '{http://calendarserver.org/ns/}me-card ' ;
1717 private const CALENDAR_TRANSP_PROPERTY = '{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp ' ;
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ Turning the feature off removes shared files and folders on the server for all s
4242 <step >OCA\Files_Sharing\Migration\OwncloudGuestShareType</step >
4343 <step >OCA\Files_Sharing\Migration\SetPasswordColumn</step >
4444 <step >OCA\Files_Sharing\Migration\SetAcceptedStatus</step >
45+ <!-- expensive steps -->
46+ <step >OCA\Files_Sharing\Repair\CleanupShareTarget</step >
4547 </post-migration >
4648 </repair-steps >
4749
Original file line number Diff line number Diff line change 5656use OC \Repair \RepairInvalidShares ;
5757use OC \Repair \RepairLogoDimension ;
5858use OC \Repair \RepairMimeTypes ;
59- use OCA \DAV \Migration \DeleteSchedulingObjects ;
60- use OCA \DAV \Migration \RemoveObjectProperties ;
61- use OCA \Files_Sharing \Repair \CleanupShareTarget ;
6259use OCP \EventDispatcher \IEventDispatcher ;
6360use OCP \IConfig ;
6461use OCP \IDBConnection ;
You can’t perform that action at this time.
0 commit comments