Pregunta de entrevista de Itential

Technical Question: You are given a 3-step system. Step 1: Open the transaction. Credit client with funds/resources. Step 2: Debit source account / Allocate or commit backing resource Step 3: Close the transaction (commit all operations, release locks, finalize) A system crash interrupts a and leaves the system in an inconsistent/indeterminate state. The failure occurs at Step 3: There is a system failure which causes the system to halt at step 3 in the workflow. What are your suggestions/opinions on solving this problem?