Files
document-haness/docs/clean-architecture-backend-template/tech-log-studio/transaction-and-consistency-models/concept/concept-messaging-outbox-jdbc-postgresql-c06.md
T
DongHyeonkaandClaude Opus 5 b2963105a8 docs(keycloak-session-store): import the session-storage lab as a new project
The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.

Follows the import procedure in README.md.

  source/     the originating repository verbatim — 78 documents, 28 SVGs,
              8 manifests, plus .source-revision recording the commit
  final/      the SSOT
    document.md   729 lines written from the 29 experiment documents, not
                  concatenated: what was predicted, what was measured, and
                  where the measurement itself was wrong
    evidence/raw    125 outputs, flattened to <experiment>__<file> because
                    the originals collided (01-baseline.txt appeared three
                    times) and the audit only globs the top level
    evidence/meta   one per raw file; command and exitCode are null and the
                    README says why rather than inventing them
    evidence/browser  22 captures
    assets/       three diagrams through techviz
    .techviz/     their VizSpecs

A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.

Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.

verify-pipeline.py passes. audit-records.py reports no issues.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:51:59 +09:00

2.9 KiB

kind, slug, title, topic, project, status, sourceRevision, rootTreeNode, evidenceCapturedOn, assets, evidence, source, module
kind slug title topic project status sourceRevision rootTreeNode evidenceCapturedOn assets evidence source module
CONCEPT messaging-outbox-jdbc-postgresql-c06 만들어졌지만 아무도 부르지 않는다를 이름 붙인 유일한 자리 transaction-and-consistency-models clean-architecture-backend-template 게시 전 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 concept:messaging-outbox-jdbc-postgresql-c06 2026-09-01
key file
messaging-outbox-jdbc-postgresql-c06 ../../../final/evidence/rendered/messaging-outbox-jdbc-postgresql-c06.svg
../../../final/evidence/raw/messaging-outbox-jdbc-postgresql-c06.txt
원본 분석 절은 analysis/messaging/messaging-outbox-jdbc-postgresql.md#L767 이다.
messaging-outbox-jdbc-postgresql

만들어졌지만 아무도 부르지 않는다를 이름 붙인 유일한 자리

SQL 마이그레이션과 javadoc이 함께 이력을 이룬다. 여덟 개의 "이전에는 이랬다" 중 마지막 둘이 이 저장소에서 반복되는 결함 계열을 명시적으로 이름 붙인다.

본문

SQL 마이그레이션과 javadoc 이 함께 이력을 이룬다. 여덟 개의 "이전에는 이랬다".

위치 기록된 과거 결함
V2:3-14 리스만으로는 stale relay 가 PUBLISHED 위에 AMBIGUOUS 를 덮어썼다
V2:25-27 "V1's CHECK listed five states, so writing the sixth failed at the constraint rather than at review"
V4:6-9 정경 필드가 갈 곳이 없어 유실되거나 msg.* 로 밀반입되었다
V4:56-61 Debezium 키가 destination 이라 한 토픽의 모든 메시지가 한 파티션에 몰렸다
JdbcOutboxRepository:205-209 append 가 풀에서 raw 커넥션을 열어 자동 커밋했다 — "a business transaction that rolled back afterwards left the event behind"
JdbcOutboxRepository:630-636 이스케이프가 역슬래시와 따옴표만 처리해 제어문자가 JSONB 를 깨뜨렸다
OutboxRelay:117-123 "The scheduler was built by the auto-configuration and handed to nobody"
OutboxRelayWorker:18-21 "The relay, its retry scheduler and the attempt budget all existed and nothing ever called runOnce"

이 기록이 다루는 파일 범위

:::evidence key="messaging-outbox-jdbc-postgresql-c06" alt="코드베이스에서 파일 목록을 만든 출력 13줄. 이 기록이 다루는 범위가 그 목록이다." caption="코드베이스 파일 목록 — 13줄 · exit 0" zoom="true" :::

결함 계열에 이름이 붙은 유일한 자리

마지막 두 개(OutboxRelay:117-123, OutboxRelayWorker:18-21)가 이 저장소 전체에서 반복되는 결함 계열 — "만들어졌지만 아무도 부르지 않는다" — 을 명시적으로 이름 붙인 유일한 자리다. 그리고 이 리프에서는 그 둘이 실제로 고쳐졌다. §12.1(c)의 requireExactlyOneRelay 만 같은 상태로 남았다.