1.1.1. Log table
All transactions should generate events, and the events stored in an event store.
The transactions (API calls, ORM calls etc.) can be stored in a NOSQL database and analyzed in case of failure or data corruption.
You should be able to modify and repeat a command or transaction in case of failure.