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