Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 08b21bb

Browse files
authored
Merge pull request #4204 from magento/small_changes
Small changes
2 parents 8590fbd + 365c67d commit 08b21bb

File tree

14 files changed

+47
-48
lines changed

14 files changed

+47
-48
lines changed

_data/toc/cloud-guide.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ pages:
307307
- label: Cloud deployment process
308308
url: /cloud/deploy/cloud-deployment-process.html
309309

310-
- label: Reduce downtime
310+
- label: Zero downtime deployment
311311
url: /cloud/deploy/reduce-downtime.html
312312

313313
- label: Static content deployment

common/images/fdg/lib-map.png

-18.9 KB
Loading

guides/v2.1/cloud/deploy/optimize-cloud-deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ The following topics can help you to better understand how to optimize the deplo
1414
- [Cloud deployment process]({{page.baseurl}}/cloud/deploy/cloud-deployment-process.html)
1515
There are three phases in the Cloud deployment process, and you can use the strengths and weaknesses of each phase to your advantage.
1616

17+
- [Zero downtime deployment]({{page.baseurl}}/cloud/deploy/reduce-downtime.html)
18+
Understand what happens during deployment and how to reduce the amount of downtime your store experiences during an update to the Production environment.
19+
1720
- [Static content deployment]({{page.baseurl}}/cloud/deploy/static-content-deployment.html)
1821
The best way to optimize your Cloud deployment is to control how and when to generate static content.
1922

20-
- [Reduce downtime]({{page.baseurl}}/cloud/deploy/reduce-downtime.html)
21-
Understand what happens during deployment and how to reduce the amount of downtime your store experiences during an update to the Production environment.
22-
2323
- [Smart wizards]({{page.baseurl}}/cloud/deploy/smart-wizards.html)
2424
The `{{site.data.var.ct}}` package provides the smart wizard commands to quickly evaluate your project configuration.

guides/v2.1/cloud/deploy/reduce-downtime.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
group: cloud-guide
3-
title: Reduce downtime
3+
title: Zero downtime deployment
44
functional_areas:
55
- Cloud
66
- Deploy
77
- SCD
88
---
99

10-
{{site.data.var.ece}} runs Magento in [_maintenance_ mode]({{page.baseurl}}/config-guide/bootstrap/magento-modes.html#maintenance-mode) during the deploy phase, which takes your site offline until the deployment is complete. The length of time your Production site is in maintenance mode depends on the size of the site, the number of changes applied during the deployment, and the configuration for static content deployment.
10+
{{site.data.var.ece}} runs Magento in [_maintenance_ mode]({{page.baseurl}}/config-guide/bootstrap/magento-modes.html#maintenance-mode) during the deploy phase, which takes your site offline until the deployment is complete. The length of time your Production site is in maintenance mode depends on the size of the site, the number of changes applied during the deployment, and the configuration for static content deployment. It is possible to configure your project so that it deploys with a **zero** downtime effect.
1111

12-
During the deployment process, all connections queue for up to 5 minutes preserving any active sessions and pending actions, such as adding to cart or checkout. After deployment, the queue is released and connections continue without interruption. To use this _connection hold_ to your advantage and reduce downtime to **zero**, you must configure your project to use the most efficient deploy strategy.
12+
During the deployment process, all connections queue for up to 5 minutes preserving any active sessions and pending actions, such as adding to cart or checkout. After deployment, the queue is released and connections continue without interruption. To use this _connection hold_ to your advantage and reduce deployment to _zero_ downtime, you must configure your project to use the most efficient deploy strategy.
1313

1414
Use the following steps to reduce the amount of time it takes your store to deploy an update to Production:
1515

guides/v2.1/config-guide/bootstrap/magento-bootstrap.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,20 @@ The assertions that the Magento application is installed and not in maintenance
3737

3838
Sample entry point script that modifies the bootstrap object:
3939

40-
```php?start_inline=1
41-
use Magento\Framework\App\Bootstrap;
42-
require __DIR__ . '/app/bootstrap.php';
43-
$params = $_SERVER;
44-
$params[Bootstrap::PARAM_REQUIRE_MAINTENANCE] = true; // default false
45-
$params[Bootstrap::PARAM_REQUIRE_IS_INSTALLED] = false; // default true
46-
$bootstrap = Bootstrap::create(BP, $params);
47-
/** @var \Magento\Framework\App\Http $app */
48-
$app = $bootstrap->createApplication('Magento\Framework\App\Http');
49-
$bootstrap->run($app);
50-
```
40+
```php?start_inline=1
41+
<?php
42+
use Magento\Framework\App\Bootstrap;
43+
require __DIR__ . '/app/bootstrap.php';
44+
45+
$params = $_SERVER;
46+
$params[Bootstrap::PARAM_REQUIRE_MAINTENANCE] = true; // default false
47+
$params[Bootstrap::PARAM_REQUIRE_IS_INSTALLED] = false; // default true
48+
$bootstrap = Bootstrap::create(BP, $params);
49+
50+
/** @var \Magento\Framework\App\Http $app */
51+
$app = $bootstrap->createApplication('Magento\Framework\App\Http');
52+
$bootstrap->run($app);
53+
```
5154

5255
## Default exception handling {#config-boot-exception}
5356

guides/v2.1/howdoi/checkout/checkout_customize.md

100644100755
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The Magento_Shipping module adds a component rendered as a link to the Shipping
4646

4747

4848
```xml
49-
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
49+
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
5050
<body>
5151
<referenceBlock name="checkout.root">
5252
<arguments>
@@ -81,6 +81,7 @@ The Magento_Shipping module adds a component rendered as a link to the Shipping
8181
</referenceBlock>
8282
</body>
8383
</page>
84+
8485
```
8586

8687
## Add the new component to the checkout page layout {#add}
@@ -115,4 +116,4 @@ return $jsLayout;
115116
If you want to use this sample in your code, replace the `%path_to_target_node%` placeholder with real value.
116117

117118
{: .bs-callout .bs-callout-info" }
118-
Disable vs remove a component: If you disable a component, it is loaded but not rendered. If you remove a component, it is not loaded.
119+
Disable vs remove a component: If you disable a component, it is loaded but not rendered. If you remove a component, it is removed and not loaded.

guides/v2.1/install-gde/composer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ To get the Magento metapackage:
4141

4242
**{{site.data.var.ce}}**
4343
```bash
44-
composer create-project --repository=https://repo.magento.com/magento/project-community-edition:<version-tag> <install-directory-name>
44+
composer create-project --repository=https://repo.magento.com/ magento/project-community-edition:<version-tag> <install-directory-name>
4545
```
4646

4747
**{{site.data.var.ee}}**
4848
```bash
49-
composer create-project --repository=https://repo.magento.com/magento/project-enterprise-edition:<version-tag> <install-directory-name>
49+
composer create-project --repository=https://repo.magento.com/ magento/project-enterprise-edition:<version-tag> <install-directory-name>
5050
```
5151

5252
When prompted, enter your Magento authentication keys. Your _public key_ is your username; your _private key_ is your password.
5353

5454
To install {{site.data.var.ce}} version 2.2.2 run in current folder:
5555
```bash
56-
composer create-project --repository=https://repo.magento.com/magento/project-community-edition:2.2.2 .
56+
composer create-project --repository=https://repo.magento.com/ magento/project-community-edition:2.2.2 .
5757
```
5858

5959
If you encounter errors, such as `Could not find package...` or `...no matching package found`, make sure there are no typos in your command. If you still encounter errors, you may not be authorized to download {{site.data.var.ee}}. Contact [Magento support](https://magento.com/support) for help.

guides/v2.1/install-gde/prereq/mysql.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ Magento _strongly_ recommends you observe the following standard when you set up
3030
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
3131
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.
3232

33-
{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
34-
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
35-
implementations utilizing GTID-based replication, such as
36-
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
33+
{:.bs-callout .bs-callout-warning}
34+
Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions, which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database implementations utilizing GTID-based replication, such as [Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
3735

3836
{:.bs-callout .bs-callout-info}
3937
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{ page.baseurl }}/install-gde/prereq/mysql_remote.html).

guides/v2.2/cloud/basic-information/starter-develop-deploy-workflow.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,27 @@ This process assumes that you have set up your [local developer workspace]({{ pa
4141
For a new Starter Plan project, a `master` branch was cloned from the {{site.data.var.ece}} Git repository. To start branching and working with code, you need to clone the `master` branch to your local environment.
4242

4343
The format of the Git clone command is:
44+
```bash
45+
git fetch origin
46+
```
4447

45-
git fetch origin
46-
git pull origin <environment ID>
47-
48+
```bash
49+
git pull origin <environment ID>
50+
```
4851
The first time you start working in branches for your Starter project, you need to create a `staging` branch. This creates a code branch matching the `master` branch that deploys to a Staging environment to test configuration and code changes before deploying to the Production environment.
4952

5053
Next, create branches from `staging` to develop code, add extensions, and configure 3rd party integrations. Anytime you need to develop custom code, add extensions, integrate with a 3rd party service, work in a development branch created from the `staging` branch. You will have four active Integration environments available. When you push an active branch, one of these Integration environments automatically deploys your code to test.
5154

5255
We walk you through the process when you [set up your local]({{ page.baseurl }}/cloud/setup/first-time-setup.html) environment.
5356

5457
The format of the Git branch command is:
55-
56-
git checkout <branch name>
57-
58+
```bash
59+
git checkout <branch name>
60+
```
5861
The format of the Magento Cloud CLI branch command is:
59-
60-
magento-cloud environment:branch <environment name> <parent environment ID>
61-
62+
```bash
63+
magento-cloud environment:branch <environment name> <parent environment ID>
64+
```
6265

6366
![Branch from Master]({{ site.baseurl }}/common/images/cloud_workflow-branching.png)
6467

guides/v2.2/install-gde/prereq/mysql.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ Magento _strongly_ recommends you observe the following standard when you set up
2626
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
2727
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.
2828

29-
{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
30-
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
31-
implementations utilizing GTID-based replication, such as
32-
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
29+
{:.bs-callout .bs-callout-warning}
30+
Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions, which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database implementations utilizing GTID-based replication, such as [Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
3331

3432
{:.bs-callout .bs-callout-info}
3533
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{ page.baseurl }}/install-gde/prereq/mysql_remote.html).

guides/v2.3/comp-mgr/install-extensions/inventory-management-installation.md

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ For more information on configurations, see [Enabling Inventory Management](http
7575

7676
You may need to disable Inventory Management modules to:
7777

78-
* Speed up the upgrade process for merchants currently on Magento 2.0/2.1/2.2 and migrating to 2.3.0.
78+
* Speed up the upgrade process for merchants currently on Magento 2.0.X/2.1.X/2.2.X and migrating to 2.3.X.
7979
* Use custom or third party inventory and order management modules.
8080
* Use [Magento Order Management](https://omsdocs.magento.com) for inventory and order management. The current Order Management connector does not support Inventory Management interfaces. We plan to support this integration in a later release.
8181

guides/v2.3/config-guide/prod/config-reference-gitignore.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ atlassian*
3636
/.idea
3737
/.gitattributes
3838
/app/config_sandbox
39-
/app/etc/config.php
4039
/app/etc/env.php
4140
/app/code/Magento/TestModule*
4241
/lib/internal/flex/uploader/.actionScriptProperties
@@ -123,7 +122,6 @@ atlassian*
123122
/.idea
124123
/.gitattributes
125124
/app/config_sandbox
126-
/app/etc/config.php
127125
/app/etc/env.php
128126
/app/code/Magento/TestModule*
129127
/lib/internal/flex/uploader/.actionScriptProperties

guides/v2.3/graphql/index.md

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can explicitly define EAV attributes in the schema, while a module's attribu
2626
The current GraphQL codebase also supports the following features:
2727

2828
* You can perform full text searches on products in a similar manner as REST and SOAP calls. You can also simultaneously perform a full text search and filter the results. This is new functionality available only with GraphQL.
29-
* All product types are supported. Currently, previous versions supported simple and configurable products only.
29+
* All product types are supported. Previous versions support only simple and configurable products.
3030
* A product query returns complex price objects that include the amount, the currency code, and any adjustments.
3131
* You can query attributes of a logged-in customer. A session token provides authorization.
3232
* The REST and SOAP APIs had separate endpoints for searching across all products and individual products. In GraphQL, all product searches use the `products` query.

guides/v2.3/install-gde/prereq/mysql.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ Magento _strongly_ recommends you observe the following standard when you set up
2626
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
2727
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.
2828

29-
{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
30-
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
31-
implementations utilizing GTID-based replication, such as
32-
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
29+
{:.bs-callout .bs-callout-warning}
30+
Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions, which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database implementations utilizing GTID-based replication, such as [Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
3331

3432
{:.bs-callout .bs-callout-info}
3533
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{page.baseurl }}/install-gde/prereq/mysql_remote.html).

0 commit comments

Comments
 (0)