This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Checkout Block: Mitigate and test for concurrency issues when reserving stock #1652
Closed
2 of 3 tasks
Labels
focus: rest api
Work impacting REST api routes.
type: enhancement
The issue is a request for an enhancement.
Introduced in #1425, the API creates draft orders during the checkout flow which also help reserve stock during checkout for a customer.
Core team have been working on a similar system for putting holds on stock which attempts to mitigate concurrency issues (too much stock being reserved if 2 or more requests come in simultaneously).
Since there is benefit to rolling out changes in blocks first, we should (with @woocommerce/proton and @vedanshujain) ensure the solution in blocks is flexible enough to be the solution used by core too, and ensure we have a testing tool to confirm this works.
TODO:
The text was updated successfully, but these errors were encountered: