Skip to content

Commit 78193f7

Browse files
author
Serhii Balko
committed
MC-41614: When dimensions-mode is set to "wesbite" and let price indexer to execute parallel process, Lockwait timeout errors occur when bundle prices are indexed
1 parent eb21c55 commit 78193f7

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Bundle/Model/ResourceModel/Indexer

1 file changed

+3
-3
lines changed

app/code/Magento/Bundle/Model/ResourceModel/Indexer/Price.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function executeByDimensions(array $dimensions, \Traversable $entityIds)
200200
private function getBundlePriceTable()
201201
{
202202
if ($this->tmpBundlePriceTable === null) {
203-
$this->tmpBundlePriceTable = 'catalog_product_index_price_bundle_temp';
203+
$this->tmpBundlePriceTable = $this->getTable('catalog_product_index_price_bundle_temp');
204204
$this->getConnection()->createTemporaryTableLike(
205205
$this->tmpBundlePriceTable,
206206
$this->getTable('catalog_product_index_price_bundle_tmp'),
@@ -219,7 +219,7 @@ private function getBundlePriceTable()
219219
private function getBundleSelectionTable()
220220
{
221221
if ($this->tmpBundleSelectionTable === null) {
222-
$this->tmpBundleSelectionTable = 'catalog_product_index_price_bundle_sel_temp';
222+
$this->tmpBundleSelectionTable = $this->getTable('catalog_product_index_price_bundle_sel_temp');
223223
$this->getConnection()->createTemporaryTableLike(
224224
$this->tmpBundleSelectionTable,
225225
$this->getTable('catalog_product_index_price_bundle_sel_tmp'),
@@ -238,7 +238,7 @@ private function getBundleSelectionTable()
238238
private function getBundleOptionTable()
239239
{
240240
if ($this->tmpBundleOptionTable === null) {
241-
$this->tmpBundleOptionTable = 'catalog_product_index_price_bundle_opt_temp';
241+
$this->tmpBundleOptionTable = $this->getTable('catalog_product_index_price_bundle_opt_temp');
242242
$this->getConnection()->createTemporaryTableLike(
243243
$this->tmpBundleOptionTable,
244244
$this->getTable('catalog_product_index_price_bundle_opt_tmp'),

0 commit comments

Comments
 (0)