Files
document-haness/docs/clean-architecture-backend-template/tech-log-studio/cross-leaf-integration-facts/case/case-messaging-migration-stream-has-no-applier-and-collides-on-adoption.md
T
DongHyeonkaandClaude Fable 5.1 b25357c48a docs(clean-architecture-backend-template): fold analysis into final and re-select one topic
- analysis/·source-index·state.json 을 final/document.md 제2부·제3부로 접었다. SSOT 는 하나다
- 파일럿 — commit-ambiguity-as-a-result 를 새 기준으로 재선별. 후보 14 → 글감 5
  (PROMOTE 5 · MERGE_INTO 3 · KEEP_IN_SSOT 4 · 보류 2). 기록 5건을 다시 썼고 그림 1개를
  techviz 로 만들었다
- 재선별이 잡은 것: 제1부 §6.2·§11.1 이 자기 §13.2 와 어긋나 있었다(레인을 안 돌렸다 vs
  돌렸다) — 정정. 이미 답이 나와 있던 Question 을 HEAD 재실행 질문으로 다시 세웠다.
  Concept 이 인용한 코드가 SSOT 에 없어 뺐다
- candidateScope·sourceRepository 기록. 나머지 43개 주제는 재선별 대기(PENDING 905)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-07 12:39:20 +09:00

83 lines
4.0 KiB
Markdown

---
kind: CASE
slug: messaging-migration-stream-has-no-applier-and-collides-on-adoption
title: messaging 마이그레이션 스트림을 적용하는 곳이 없고, 적용하려는 순간 버전이 충돌한다
topic: cross-leaf-integration-facts
project: clean-architecture-backend-template
status: 게시 전
sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916
rootTreeNode: case:messaging-migration-stream-has-no-applier-and-collides-on-adoption
evidenceCapturedOn: 2026-09-01
assets:
- key: messaging-migration-stream-has-no-applier-and-collides-on-adoption
file: ../../../final/evidence/rendered/messaging-migration-stream-has-no-applier-and-collides-on-adoption.svg
- key: messaging-migration-stream-has-no-applier-and-collides-on-adoption-diagram
file: ../../../final/assets/diagrams/messaging-migration-stream-has-no-applier-and-collides-on-adoption.svg
evidence:
- ../../../final/evidence/raw/messaging-migration-stream-has-no-applier-and-collides-on-adoption.txt
source:
- 원본 분석 절은 final/document.md#a19#L860 이다.
module: integration/19-messaging-platform
priority: P2
---
# messaging 마이그레이션 스트림을 적용하는 곳이 없고, 적용하려는 순간 버전이 충돌한다
리프 하나만 읽어서는 보이지 않는 사실이다. 두 messaging 리프가 각자 마이그레이션을 갖는데 그 스트림을 적용하는 Flyway location 이 어떤 컴포지션에도 없다.
## 관계
- **messaging 마이그레이션 두 leaf가 같은 디렉터리에서 V2를 둘 만들었다**
같은 구조에서 실제로 확인된 사건이다.
## 문제
리프 하나만 읽어서는 보이지 않는 사실이다.
두 messaging 리프가 각자 마이그레이션을 갖는데 그 스트림을 적용하는 Flyway location 이 어떤 컴포지션에도 없다.
## 결론
그리고 적용하려는 순간 두 리프가 같은 디렉터리에서 같은 버전 번호를 만들어 둔 것이 드러난다 — 즉 배선 부재가 번호 충돌을 가려 왔다.
두 사실이 한 사건인 이유는 순서다.
적용이 시작되는 날 첫 실패가 충돌이고, 그때까지는 어느 쪽도 관측되지 않는다.
## 검증 환경
OpenJDK : 21.0.12 java -version 으로 확인
Gradle : 9.0.0 src/gradle/wrapper/gradle-wrapper.properties 의 distributionUrl 로 확인
확인 방식 : 두 리프의 마이그레이션 파일 목록과 컴포지션들의 Flyway location 설정 대조
소스 수정 : x
## 재현 조건
원문은 final/document.md#a19#L860 에 있다.
## 본문
<!-- body:start -->
리프 하나만 읽어서는 보이지 않는 사실이다. 두 messaging 리프가 각자 마이그레이션을 갖는데 그 스트림을 적용하는 Flyway location 이 어떤 컴포지션에도 없다.
## 적용이 없어 가려진 충돌
:::evidence key="messaging-migration-stream-has-no-applier-and-collides-on-adoption-diagram" alt="리프 둘의 마이그레이션만 존재하는 것 안에 놓이고 Flyway 적용 위치가 바깥에 빗금으로 놓인다" caption="적용이 없어 가려진 충돌" zoom="false"
:::
## 스트림을 적용하는 컴포지션이 없다
:::evidence key="messaging-migration-stream-has-no-applier-and-collides-on-adoption" alt="분석 문서 final/document.md#a19 에서 이 기록의 근거 절을 그대로 잘라낸 15줄. 코드베이스를 측정한 것이 아니라 원본 판정이 무엇을 적었는지를 보여 준다." caption="final/document.md#a19 발췌 — 15줄" zoom="true"
:::
## 두 사실이 한 사건인 이유는 순서다
적용하려는 순간 두 리프가 같은 디렉터리에서 같은 버전 번호를 만들어 둔 것이 드러난다 — 배선 부재가 번호 충돌을 가려 왔다. 적용이 시작되는 날 첫 실패가 충돌이고, 그때까지는 어느 쪽도 관측되지 않는다.
## 확인하지 못한 것
그 디렉터리를 Flyway location 에 넣어 부팅 실패를 재현하지 않았다. 적용 위치가 없어 충돌이 아직 발현하지 않는다는 것이 이 기록의 요지다.
<!-- body:end -->