{"data":{"id":"ACP2E-4894","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where new orders are delayed in appearing in the Admin order management grids when Asynchronous Indexing is enabled on high-volume stores.","categories":["Order/Checkout","Performance"],"components":["magento/module-sales","magento/module-sales-archive"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-82/acp2e-4894","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-82/acp2e-4894.md","blobSha":"6a446b67407eb5aa083e80478ebf3b1798460ac2","description":"Issue where new orders appear with a delay in the Admin order management grids when asynchronous indexing is enabled on high-volume stores.","stepsToReproduce":"1. Enable asynchronous indexing by running bin/magento config:set dev/grid/async_indexing 1. 1. Create 50000 orders that are missing from sales_order_grid. 1. Run bin/magento cron:run until sales_grid_order_async_insert processes the backlog and sales_grid_async_last_entity_id_sales_order_grid reaches the latest order entity_id. 1. Verify that sales_grid_async_last_entity_id_sales_order_grid matches the highest processed entity_id. 1. Run bin/magento cron:run again after the backlog is cleared. 1. Verify whether sales_grid_async_last_entity_id_sales_order_grid resets to 10000. 1. Place a new order on the storefront. 1. Run bin/magento cron:run again to trigger sales_grid_order_async_insert. 1. Log in to the Admin and navigate to Sales > Orders.","introducedInQpt":"1.1.82","createdFor":["2.4.8-p4"],"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-4894_2.4.8-p4.patch","blobSha":"b95d5701716a9d0fe08f6c54476439d29cf80c9f","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACP2E-4894_2.4.8-p4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales/Model/GridAsyncInsert.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/Model/ResourceModel/Grid.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/Model/ResourceModel/Provider/Query/IdListBuilder.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/Model/ResourceModel/Provider/UpdatedIdListProvider.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/etc/di.xml","change":"modified","package":"magento/module-sales"}],"packages":["magento/module-sales"],"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},{"package":"magento/magento2-ee-base","constraint":">=2.4.7 <2.4.9","path":"patches/commerce/ACP2E-4894_2.4.8-p4.patch","blobSha":"4982c59adb6e4950289be47641360f260bca57d8","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACP2E-4894_2.4.8-p4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales-archive/Plugin/ArchivedEntitiesProcessorPlugin.php","change":"modified","package":"magento/module-sales-archive"}],"packages":["magento/module-sales-archive"],"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","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-4894 details"}