Vivarium · Layer 2 · Docker (catalogue)

PostgreSQL lost update under READ COMMITTED

Two concurrent application-side read → modify → write transactions under PostgreSQL's default READ COMMITTED isolation can silently lose one increment. The page below shows CI's most recent reproduction snapshot. Run the recipe locally to confirm the same behaviour against your own Docker.

CI verdict snapshot

Loading verdict snapshot…

Reproduce yourself

docker run --rm ghcr.io/aletheia-works/vivarium-postgres-lost-update:latest

First-pull cost ~80 MB (postgres:16-alpine). Run takes ~5 s. See the recipe directory for the Dockerfile and repro.sh.

CI snapshot output

(loading…)