QUALITY PATCH

MDVA-34948: The website gets slow, which hampers operations

The website gets slow, which hampers operations. Quality patch MDVA-34948 for magento/framework applies to Magento Open Source and Adobe Commerce 2.3.6 to 2.4.0-p1.

Categories
Performance
Components
magento/framework, magento/module-message-queue
Origin
adobe-commerce-support
Since QPT
1.1.1

Issue

The website gets slow, which hampers operations.

Steps to reproduce

1. Run show processlist in MySQL. 1. Check if there are multiple queries like: SELECT GET_LOCK(SYSTEM_CONFIG', '10');

Adobe's page lists 2.3.6-2.3.6-p1, 2.4.0-2.4.0-p1 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply MDVA-34948. On Cloud, add MDVA-34948 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its MDVA-34948/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (2): magento/module-message-queue, magento/framework
Packages across compatible versions (2): magento/module-message-queue, magento/framework

magento/magento2-base >=2.3.6 <=2.3.6-p1 || >=2.4.0 <=2.4.0-p1

Magento Open Source
2.4.0-p1, 2.4.0, 2.3.6-p1, 2.3.6
Adobe Commerce
2.4.0-p1, 2.4.0, 2.3.6-p1, 2.3.6
Patch file
patches/os/MDVA-34948_2.4.0-p1.patch
  • vendor/magento/module-message-queue/Console/StartConsumerCommand.php
  • vendor/magento/framework/Cache/LockGuardedCacheLoader.php
  • vendor/magento/framework/Lock/Backend/Cache.php

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.