{"data":{"id":"ACP2E-4913","source":"qpt","sourceRef":"magento/quality-patches@1.1.85","title":"Fixes the issue where shipping and invoicing operations fail due to a deadlock.","categories":["Admin","Order/Checkout"],"components":["app/etc","magento/framework","magento/module-developer","magento/module-sales"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-84/acp2e-4913","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-84/acp2e-4913.md","blobSha":"7579ea3040fcea7e7b13b70b8b5ec17faeeb8b2a","description":"Creating a shipment or an invoice through the REST API fails permanently when a database deadlock occurs because the operation is not retried.","stepsToReproduce":"1. Prepare several orders that can be shipped and several orders that can be invoiced. 1. Send several POST /rest/V1/order/<orderId>/ship requests in parallel for these orders, as an integration might under load. 1. Send several POST /rest/V1/order/<orderId>/invoice requests in parallel in the same way. 1. Check the API responses and var/log/exception.log.","introducedInQpt":"1.1.84","createdFor":["2.4.8-p3"],"documentedRange":"2.4.7 - 2.4.8-p5","scheduledFixRelease":"2.4.10"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.7 <2.4.9","path":"patches/os/ACP2E-4914_2.4.8-p3.patch","blobSha":"5629d3b1d85ce580f3384664fa37e048ed8ddca1","url":"https://raw.githubusercontent.com/magento/quality-patches/3610179336d510e38921cb84f6c8a8ea7d9b60b5/patches/os/ACP2E-4914_2.4.8-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-developer/Console/Command/QueryLogEnableCommand.php","change":"modified","package":"magento/module-developer"},{"path":"vendor/magento/module-sales/Model/OrderMutex.php","change":"modified","package":"magento/module-sales"},{"path":"app/etc/di.xml","change":"modified","package":"magento/magento2-base"},{"path":"vendor/magento/framework/Config/ConfigOptionsListConstants.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/DB/DeadlockRecoveryExecutor.php","change":"added","package":"magento/framework"},{"path":"vendor/magento/framework/DB/DeadlockRecoveryExecutorInterface.php","change":"added","package":"magento/framework"},{"path":"vendor/magento/framework/DB/Logger/File.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/DB/Logger/LoggerAbstract.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/DB/Logger/LoggerProxy.php","change":"modified","package":"magento/framework"},{"path":"vendor/magento/framework/DB/Logger/QueryAnalyzerException.php","change":"added","package":"magento/framework"},{"path":"vendor/magento/framework/DB/Logger/QueryAnalyzerInterface.php","change":"added","package":"magento/framework"},{"path":"vendor/magento/framework/DB/Logger/QueryIndexAnalyzer.php","change":"added","package":"magento/framework"}],"packages":["magento/module-developer","magento/module-sales","magento/magento2-base","magento/framework"],"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","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":[]},"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":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-4913 details"}