Add Event Detail Without Inventing History
Evolve aggregate-only counters into an event log by writing details and totals atomically, preserving irreducible legacy summaries, and using stable cursor pagination.
3 articles
Evolve aggregate-only counters into an event log by writing details and totals atomically, preserving irreducible legacy summaries, and using stable cursor pagination.
Repair a batch deletion path that depended on a read projection by loading persistence models directly, validating the full batch, and returning the real transaction result.
Trace a valid database rejection back to stale derived allocation counters, repair the data under row locks and version checks, and translate the error only after rollback is guaranteed.