X Tutup
Skip to content

Commit bda6b69

Browse files
authored
Remove FillETags repair-step. (#40996)
* Remove FillETags repair-step. * Fix test * changelog
1 parent d5ad3e8 commit bda6b69

File tree

4 files changed

+7
-58
lines changed

4 files changed

+7
-58
lines changed

changelog/unreleased/40996

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Enhancement: Remove "Fill E-Tags" Repair-Step
2+
3+
This legacy repair-step took very long to run during an upgrade of a large system and
4+
didn't repair anything anymore.
5+
6+
https://github.com/owncloud/core/pull/40996

lib/private/Repair.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
use OC\Repair\SharePropagation;
4444
use OC\Repair\SqliteAutoincrement;
4545
use OC\Repair\DropOldTables;
46-
use OC\Repair\FillETags;
4746
use OC\Repair\InnoDB;
4847
use OC\Repair\RepairMimeTypes;
4948
use OC\Repair\SearchLuceneTables;
@@ -134,7 +133,6 @@ public static function getRepairSteps() {
134133
\OC::$server->getLogger(),
135134
\OC::$server->getConfig()
136135
),
137-
new FillETags(\OC::$server->getDatabaseConnection()),
138136
new CleanTags(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager()),
139137
new DropOldTables(\OC::$server->getDatabaseConnection()),
140138
new DropOldJobs(\OC::$server->getJobList()),

lib/private/Repair/FillETags.php

Lines changed: 0 additions & 54 deletions
This file was deleted.

tests/acceptance/features/cliMain/maintenance.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ Feature: Maintenance command
99
Scenario: Repair steps should be listed correctly
1010
When the administrator list the repair steps using the occ command
1111
Then the command should have been successful
12-
And the command output should contain the text "Found 17 repair steps"
12+
And the command output should contain the text "Found 16 repair steps"
1313
And the command output table should contain the following text:
1414
| table_column |
1515
| OC\Repair\RepairMimeTypes |
1616
| OC\Repair\RepairMismatchFileCachePath |
17-
| OC\Repair\FillETags |
1817
| OC\Repair\CleanTags |
1918
| OC\Repair\DropOldTables |
2019
| OC\Repair\DropOldJobs |

0 commit comments

Comments
 (0)
X Tutup