{"data":{"id":"ACP2E-3705","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes an issue where the indexer_update_all_views cron execution fails when MAGE_INDEXER_THREADS_COUNT is set.","categories":["Other"],"components":["magento/framework","magento/module-indexer","magento/module-catalog-permissions"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-61/acp2e-3705-fixes-an-issue-where-the-indexer","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-61/acp2e-3705-fixes-an-issue-where-the-indexer.md","blobSha":"647e5f2f1ef07293fc99dd6b84067bdd955f6f8b","description":"The indexer_update_all_views cron execution fails when MAGE_INDEXER_THREADS_COUNT is set to a value greater than 2, specifically affecting the Customer Segments indexer with B2B enabled.","stepsToReproduce":"1. Apply the QPT patch ACSD-64112. 1. Go to Admin > Stores > Configuration > Catalog > Category permissions. 1. Enable Category Permissions. 1. Set the following indexers to Update on Schedule mode: bin/magento indexer:set-mode schedule catalogpermissions_category catalogpermissions_product 1. Create a few products and assign them to a category. 1. Execute a full reindex. 1. Go to a category and set Category Permissions. 1. Run indexer_update_all_views cron job with MAGE_INDEXER_THREADS_COUNT set to 8.","introducedInQpt":"1.1.61","createdFor":["2.4.7-p4"],"documentedRange":"2.4.7 - 2.4.7-p4","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.7 <2.4.8","path":"patches/os/ACP2E-3705_2.4.7-p4_v2.patch","blobSha":"2e932ed094428f796ad0488fc3ec44df612d123c","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACP2E-3705_2.4.7-p4_v2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-indexer/Model/ProcessManager.php","change":"modified","package":"magento/module-indexer"},{"path":"vendor/magento/framework/Mview/View/ChangelogBatchWalker.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/Mview/View/ChangelogBatchWalker/IdsTableBuilder.php","change":"modified","package":"magento/framework"}],"packages":["magento/module-indexer","magento/framework"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.8 <2.4.9","path":"patches/os/ACSD-66841_2.4.8.patch","blobSha":"d696f9a7d595185f900e0aef9d924ba7ad18735b","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-66841_2.4.8.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-indexer/Model/ProcessManager.php","change":"modified","package":"magento/module-indexer"}],"packages":["magento/module-indexer"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.7 <2.4.8","path":"patches/commerce/ACP2E-3705_2.4.7-p4_v2.patch","blobSha":"d4aadba4e9f88b4c2f5c085586c5f3930cc18620","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACP2E-3705_2.4.7-p4_v2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-permissions/Model/Indexer/Category/Action/Rows.php","change":"modified","package":"magento/module-catalog-permissions"}],"packages":["magento/module-catalog-permissions"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.8 <2.4.9","path":"patches/commerce/ACSD-66841_2.4.8.patch","blobSha":"1198bdc820ebc1c7e7b974552dc71497afc8381e","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-66841_2.4.8.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-permissions/Model/Indexer/Category/Action/Rows.php","change":"modified","package":"magento/module-catalog-permissions"}],"packages":["magento/module-catalog-permissions"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/cron.log","match":"report.CRITICAL: PDOException: There is no active transaction in *magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php:"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-3705 details"}