Two requests.
One row.
One write gone.

When two requests change the same row at the same moment, PostgreSQL can let one overwrite the other and still say OK. IsoWatch watches your real traffic and tells you when it happens, which requests did it, and how to fix it.

TWO DEPOSITS, +50 AND +30
should be180
is130
PostgreSQL: OK, no errors

No error. No log line.

through0 lost0 caught0
wire

Each train is a request carrying a deposit. The single track is one row.

send a deposit

This is what lands in your trace.

Not a guess. IsoWatch reads the row version each request saw and the version it replaced. This one is the last it caught on the track above.

Open the two requests in Jaeger, SigNoz or Grafana Tempo. Pick a fix.

LOST UPDATEpublic.accounts(1)
CAUGHT
What happened
A request wrote this row from an old read and replaced 1 newer version it never saw.
Which requests
Which SQL
The fix

Checked against a real PostgreSQL 18.

CheckResult
How these were measured, and how to repeat them

Put it on your line.

Needs PostgreSQL 18. Go apps use the library, everything else uses the proxy.

Free and open source.
Go lose a few deposits first.