Files
DongHyeonkaandClaude Opus 5 e0d27d47ce docs: correct the places where documents contradicted their own evidence
An independent audit found ten documents printing values their evidence files do not contain. C-1 printed a session count of 0 where the evidence says 4, C-2 printed a success readback for a command that exited 1, and A-1 credited the conntrack flush with a split that the timestamps attribute to a pod restart four seconds earlier.

Also measured wal_writer_delay, which A-3 had asserted as matching without ever querying it, relabelled the A-6 control that moved 41 percent, noted A-8's nine-sample resolution, corrected D-1's RTO to the 41 seconds its own timeline shows, and added a correction banner to D-2. Every experiment document now links its evidence files with their real collection times, and the duplicate screenshots are documented as duplicates.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 16:35:49 +09:00
..

A-3 — DB 강제 종료와 데이터 손실 증거

2026-09-04 12:0012:05 KST · Keycloak 26.7.0 / PostgreSQL 16 해설: docs/experiment-a3-database-crash.md

파일 무엇을 보여주는가
01-crash-injection.txt 첫 시도 실패 — 파드 안 백그라운드 루프가 exec 종료와 함께 죽어 0건 수집
02-design-check.txt 핵심 설계 확인 — 로그인 트랜잭션도 SET LOCAL synchronous_commit TO OFF 로 커밋한다
03-loss-measurement.txt --grace-period=0 --force 주입
04-comparison.txt 유실 0건 — 그러나 crash recovery 가 안 돌았다. 죽인 적이 없는 것
05-true-crash.txt kill -9 1 시도 — 컨테이너 안에서 PID 1 은 SIGKILL 을 무시한다
06-backend-kill-crash.txt 성공한 주입 — 백엔드에 SIGKILL → not properly shut down / redo starts / redo done
07-loss-result.txt 결과: 153건 중 4건 유실. 토큰은 발급됐는데 세션 행이 없는 sid 목록

핵심 세 줄

  1. 로그인도 비동기 커밋이다. refresh 시각뿐 아니라 로그인 자체가 사라질 수 있다.
  2. 153건 중 4건(약 2.6%) 유실 — 초당 19건 기준 마지막 0.2초 분량, wal_writer_delay 기본값과 일치.
  3. 주입을 세 번 시도해 세 번째에 성공했다. 앞의 둘은 "손실 0"으로 보였지만 실제로는 크래시가 아니었다.