Critical flow
What proof is retained for picking order after lost result, and what can be done afterwards?
Now the architecture is tested at its sensitive point of failure. A picker confirms a pick. Stock, allocation and pick record commit together. After response loss, a retry returns the same record. A shorter route calculated later must not trigger another pick.
Starting point The route planner must not write authoritative quantities.
Assumptions for the example case
Own fictitious example design. A warehouse with integer quantities, manual picking and a heuristic route recommendation. A route plan is marked as requiring rechecking at age 60 seconds and older; confirmed picks remain valid evidence. All figures and test goals are illustrative assumptions.
Critical flow with commit and failure point
Critical flow
Open allocations do not exceed available stock at the location; routes do not change commitments.
Ordering and failure outcomes
- Required order
- A picker confirms a pick. Stock, allocation and pick record commit together. After response loss, a retry returns the same record. A shorter route calculated later must not trigger another pick.
- Crash before commit
- For picking order E-36 there is still no new permanent proof. The same command may be re-examined; unconfirmed intermediate work does not give a domain guarantee.
- Crash after commit, before response
- The command journal entry records the original result. Identical replay returns that evidence; a fresh view of the current state comes from the read contract.
- External uncertainty
- A lack of feedback from the shipping system remains unknown. Confirmed acceptance, safe rejection and lack of proof are given different conditions; the responsible role clarifies using the same reference.
Repeating a scan returns the same pick record
Repeating a scan returns the same pick record.
A picker confirms a pick. Stock, allocation and pick record commit together. After response loss, a retry returns the same record. A shorter route calculated later must not trigger another pick.
Open allocations do not exceed the confirmed available stock at the location; route recommendations do not change the quantity commitment. The exercise specifies the input and expected result.
- Alternative considered
- Submitting a new request after a response is lost can execute the same business operation again.
- Trade-off
- Open proof of shipping system requires a work list.
- Reassess
- Frequent unresolved outcomes require a more reliable contract for external reconciliation.
Try it yourself
Mark the commit point, failure point and next permitted action. Explain the effect of an identical retry.
A hint for your attempt
Trace the same request through the datastore and response path.
Compare with a possible solution
- Flow and failure
- A picker confirms a pick. Stock, allocation and pick record commit together. After response loss, a retry returns the same record. A shorter route calculated later must not trigger another pick.
- Commit and replay
- Domain change and command result are stored together before response. Loss of response after commit leads to reading this result. For picking order E-36, this does not produce a second effect.
Apply to your project
What feedback could be missing even though the underlying action has already taken place?