Skip to content

Commit 148a658

Browse files
committed
ACP2E-2204: Price indexing performance gradually degrades overtime
- truncate statement breaks transactions
1 parent 578fa4b commit 148a658

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Catalog/Model/Indexer/Product/Price/Action

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Full.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ private function reindexByBatchWithDimensions(
319319
$temporaryTable,
320320
$this->dimensionTableMaintainer->getMainReplicaTable($dimensions)
321321
);
322+
$this->_defaultIndexerResource->getConnection()->dropTable($temporaryTable);
322323
}
323324
}
324325

0 commit comments

Comments
 (0)