Skip to content

Commit bb8d148

Browse files
Roman HaninRoman Hanin
authored andcommitted
B2B-1832: Error when reindex Catalog Search index during the snapshot of elasticsearch
1 parent 49d2b8f commit bb8d148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Elasticsearch/Model/Adapter/Elasticsearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public function cleanIndex($storeId, $mappedIndexerId)
254254

255255

256256
foreach ($deleteQueue as $indexToDelete) {
257-
// remove index if already exists
257+
// remove index if already exists, wildcard deletion may cause collisions
258258
try {
259259
$this->client->deleteIndex($indexToDelete);
260260
} catch (\Exception $e) {

0 commit comments

Comments
 (0)