Skip to content
Hard Design: E-Commerce System (Amazon)

What happens if the inventory reservation succeeds but the database write for the order record fails?

— Tests your understanding of this concept.

Answer Options

A Inventory is permanently lost
B Saga compensating transaction releases the reservation; user sees failure and can retry
C Automatically retry order write indefinitely
D Inventory stays reserved forever

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: E-Commerce System (Amazon) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: E-Commerce System (Amazon) topic (System Design Cases).

More Design: E-Commerce System (Amazon) Questions