Skip to content

Commit

Permalink
fix remove _temp Alias on old indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-sc committed Dec 4, 2024
1 parent 001ee8b commit 1171610
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Classes/Command/IndexCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,12 @@ protected function swapIndexAliases(string $indexName, string $tempIndexAlias):
'index' => $indexName,
'alias' => $this->extConf['elasticIndexName'],
],
],
[
'remove' => [
'index' => $indexName,
'alias' => $tempIndexAlias,
],
]
]
]
Expand Down

0 comments on commit 1171610

Please sign in to comment.