{"data":{"id":"ACSD-64112","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/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-59/acsd-64112-indexer-update-all-views-cron-execution-fails","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-59/acsd-64112-indexer-update-all-views-cron-execution-fails.md","blobSha":"29373417da330833ea6b6a950675507864a9e90c","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. Install a clean instance with B2B. 1. Enable B2B Company and Shared Catalog. 1. Create a category. 1. Create a few products and assign them to the category. 1. Execute a full reindex. 1. Set the following indexers to Update on Schedule: bin/magento indexer:set-mode schedule catalogpermissions_category catalogpermissions_product 1. Go to the backend and load the newly created category. 1. Click Category Permissions and create a New Permission for an existing customer group. 1. Ensure the catalogpermissions_category indexer has a backlog. Execute the following command to verify this: bin/magento indexer:status 1. Set the following indexer thread count in env.php: 'MAGE_INDEXER_THREADS_COUNT' => 8 1. Run the cron job: bin/magento cron:run","introducedInQpt":"1.1.59","createdFor":["2.4.5-p10"],"documentedRange":"2.4.5 - 2.4.6-p10","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.5 <2.4.7","path":"patches/os/ACSD-64112_2.4.5-p10.patch","blobSha":"c137072e33d047b0d0be499cd812fb22244dc48b","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-64112_2.4.5-p10.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.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.7 <2.4.8","path":"patches/os/ACSD-64112_2.4.5-p10.patch","blobSha":"c137072e33d047b0d0be499cd812fb22244dc48b","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-64112_2.4.5-p10.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.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":"ACP2E-3705","deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.5 <2.4.7","path":"patches/commerce/ACSD-64112_2.4.5-p10.patch","blobSha":"d4aadba4e9f88b4c2f5c085586c5f3930cc18620","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-64112_2.4.5-p10.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.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.7 <2.4.8","path":"patches/commerce/ACSD-64112_2.4.5-p10.patch","blobSha":"d4aadba4e9f88b4c2f5c085586c5f3930cc18620","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-64112_2.4.5-p10.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":"ACP2E-3705","deprecated":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","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"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","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"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 ACSD-64112 details"}