Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 6d5e882

Browse files
committed
MSI: Update Magento 2 core to support MSI
1 parent d4e8e3b commit 6d5e882

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

app/code/Magento/ImportExport/Controller/Adminhtml/Import/Download.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ public function execute()
8484
/** @var \Magento\Backend\Model\View\Result\Redirect $resultRedirect */
8585
$this->messageManager->addErrorMessage(__('Incorrect file name.'));
8686

87-
return $this->getResultRedirect(); }
88-
87+
return $this->getResultRedirect();
88+
}
8989
try {
9090
$fileContents = $this->sampleFileProvider->getFileContents($entityName);
9191
} catch (NoSuchEntityException $e) {

lib/internal/Magento/Framework/MultiDimensionalIndexer/IndexName.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace Magento\Framework\MultiDimensionalIndexer;
99

1010
use Magento\Framework\Exception\LocalizedException;
11+
use Magento\Framework\Phrase;
1112

1213
/**
1314
* Index Name object
@@ -43,7 +44,7 @@ public function __construct(string $indexId, array $dimensions, Alias $alias)
4344
foreach ($dimensions as $dimension) {
4445
if (!$dimension instanceof Dimension) {
4546
throw new LocalizedException(
46-
__('Dimension have to be instance of Dimension class.')
47+
new Phrase('Dimension have to be instance of Dimension class.')
4748
);
4849
}
4950
}
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
A library for multi dimensional indexing processing
1+
The **\Magento\Framework\MultiDimensionalIndexer** library provides functionality of multi-dimension index creation and
2+
handling.
23

3-
it's supposed to split indexes by the Dimensional (Scope). Builds independent index table per each Dimensional.
4-
Dimension and Alias objects help to resolve correct index.
4+
Library introduces a set of extension points which split monolithic index by specified Dimension (Scope), creating
5+
independent index (i.e. dedicated MySQL table) per each Dimension. Along with that library provides index name
6+
resolving mechanism based on provided scope. The Multi-Dimension indexes introduced for the sake of data scalability
7+
and ability to reindex data in the scope of particular Dimension only.
58

6-
Contains switchable indexes to switch from an old index (current index, which exists before full reindex operation
7-
has been launched) to a new index (created when the full reindex operation finished) with zero downtime to make
8-
Front-End responsive while Full Reindex being worked.
9+
Aliasing mechanism guarantees zero downtime to make Front-End responsive while Full Reindex being processed.

0 commit comments

Comments
 (0)