-
Type: Task
-
Resolution: Won't Do
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: manual
-
Labels:
Description
For example, in the Inventory Management document the "Add an Item to a Shopping Cart" operation rolls back the cart update if there is not adequate inventory.
I believe the first update, which adds the line item, can be aborted with a session transaction:
https://docs.mongodb.com/manual/core/transactions/index.html