You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Shane Wall
committed
Updates to the demo:
demo/postgres-survive-kill9/Dockerfile: switched to the glibc Postgres base and removed the unsupported --compression flag; kept the -- separator so DiffKeeper wraps the upstream entrypoint correctly.
demo/postgres-survive-kill9/docker-compose.yml: escaped env vars inside the loader command, made pgbench init idempotent (only initializes if tables are missing), and keeps the workload loop running without wiping data on restart.
Run notes from this machine:
Stack comes up cleanly now; pgbench workload loads and runs.
A manual kill (docker kill -s KILL …) followed by docker compose up -d postgres brings Postgres back with the pgbench counts continuing upward (baseline 504 → after restart 3201).
Compose won’t auto-restart the container after a manual docker kill because restart policies ignore explicit stops; add docker compose up -d postgres (or docker compose restart postgres) after the kill in your script to make it pass.
0 commit comments