[仅限PaaS]{class="badge informative" title="仅适用于云项目(Adobe管理的PaaS基础架构)和内部部署项目上的Adobe Commerce 。"}
ACSD-53750:多线程 重新索引期间出现 管道断开或连接关闭catalog_product_price错误
ACSD-53750修补程序修复了在多线程 重新索引期间出现 管道中断或连接关闭catalog_product_price错误的问题。 安装Quality Patches Tool (QPT) 1.1.37时,此修补程序可用。 修补程序ID为ACSD-53750。 请注意,该问题计划在Adobe Commerce 2.4.7中修复。
受影响的产品和版本
为Adobe Commerce版本创建了修补程序:
- Adobe Commerce(所有部署方法) 2.4.6-p1
与Adobe Commerce版本兼容:
- Adobe Commerce(所有部署方法) 2.4.4 - 2.4.6-p2
magento/quality-patches包更新到最新版本,并在Quality Patches Tool:搜索修补程序页面上检查兼容性。 使用修补程序ID作为搜索关键字来查找修补程序。问题
在多线程 重新索引期间出现 管道断开或连接关闭catalog_product_price错误。
重现步骤:
-
配置RabbitMq。
-
使用附加的
small.xml文件生成示例数据。 -
转到 Stores > Config > Catalog > Inventory > Inventory Indexer Setting 并设置 Stock/Source reindex strategy = Asynchronous。
-
为支持该操作的索引设置维度模式。 例如,
catalog_product_price_website_and_customer_group或customer_group。code language-none bin/magento indexer:set-dimensions-mode catalog_product_price customer_group -
为
catalog_product_price运行索引器的重置。code language-none bin/magento indexer:reset catalog_product_price -
使用多个线程为重置索引器运行索引器。
code language-none MAGE_INDEXER_THREADS_COUNT=10 bin/magento indexer:reindex catalog_product_price
预期的结果:
没有发生错误。
实际结果:
AMQP连接导致以下错误: 管道断开或连接关闭。
应用修补程序
要应用单独的修补程序,请根据您的部署方法使用以下链接:
- Adobe Commerce或Magento Open Source内部部署: Quality Patches Tool 指南中的>使用情况Quality Patches Tool。
- 云基础架构上的Adobe Commerce:云基础架构上的Commerce指南中的升级和修补程序>应用修补程序。
相关阅读
要了解有关Quality Patches Tool的更多信息,请参阅:
- Quality Patches Tool 已发布:支持知识库中用于自助提供高质量修补程序的新工具。
- 使用 Quality Patches Tool指南中的Quality Patches Tool检查修补程序是否可用于您的Adobe Commerce问题。
有关QPT中其他可用修补程序的信息,请参阅Quality Patches Tool指南中的:搜索修补程序Quality Patches Tool。