The skill says drawings carry names and sentences go in <desc> and the paragraph beside the figure. I put sentences in node details and edge labels instead, and 27 of the 28 diagrams shipped with prose inside the canvas — "예측 다섯 개가 틀렸다", "아홉 번 조용히 실패했다", "막혀서 닿지 않는다". Only label and details render on the canvas; description does not. So every sentence moved to a noun phrase and the meaning stays in description, which was already carrying it. 막혀서 닿지 않는다 -> 차단 아홉 번 조용히 실패했다 -> 조용한 실패 9건 예측 다섯 개가 틀렸다 -> 틀린 예측 5건 로그아웃이 정리하지 않는다 -> 로그아웃 미정리 볼륨이 없으면 여기까지다 -> 볼륨 없음 Three node labels were sentences too and became names: 세션 스냅샷, 예측 선기록, 대조군 확보. What stays is what the rules protect — identifiers, commands and measured values: PRIMARY KEY (client_registration_id, principal_name), ValidationFailedException: 1 changesets check sum, nginx -t && nginx -s reload, SET LOCAL synchronous_commit TO OFF. Those are names of things, not prose about them. 294 canvas strings across 28 diagrams, none matching a sentence ending, average 11 characters. All 28 still lint clean and re-rendered. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
154 lines
4.2 KiB
JSON
154 lines
4.2 KiB
JSON
{
|
|
"version": "1.1",
|
|
"id": "a5-partition-asymmetry",
|
|
"title": "비대칭 차단은 가르지 못한다",
|
|
"question": "한 방향만 막으면 클러스터가 갈라지는가",
|
|
"type": "architecture",
|
|
"direction": "TB",
|
|
"audience": [
|
|
"네트워크 분단을 재현하려는 엔지니어"
|
|
],
|
|
"summary": "한 방향만 막으면 열린 방향으로 재연결한다. 양방향을 다 막아야 갈라지고, 갈라져도 한쪽만 DOWN 이 된다.",
|
|
"alt": "한 방향이 막혀도 반대 방향으로 연결이 성립하는 구성. 양방향을 다 막아야 두 멤버가 분리된다.",
|
|
"long_description": "JGroups 는 한 방향이 막혀도 열린 방향으로 재연결한다. 그래서 비대칭 차단으로는 cluster_size 가 2 로 유지된다. 양방향을 다 막으면 양쪽 모두 멤버 1개가 되지만 한쪽만 DOWN 이 된다. 코디네이터 쪽이 살아남고 분단된 쪽은 스스로 readiness 를 떨어뜨려 로드밸런서에서 빠지므로 외부 응답은 200 을 유지한다. 전면 장애 경로가 없다.",
|
|
"source_context": {
|
|
"document": "docs/keycloak-session-store/final/document.md",
|
|
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
|
|
"anchor": {
|
|
"kind": "heading",
|
|
"value": "A-5 · 비대칭 분단 — 전면 장애 경로가 없다",
|
|
"line": 246
|
|
}
|
|
},
|
|
"composition": {
|
|
"profile": "component-flow",
|
|
"diagram_only": true,
|
|
"reference_ids": [
|
|
"payment-event-flow"
|
|
],
|
|
"rationale": "차단 방향의 수가 결과를 가르는 것이 지배적 질문이다. 경로의 유무이므로 component-flow 를 골랐다."
|
|
},
|
|
"groups": [],
|
|
"nodes": [
|
|
{
|
|
"id": "k0",
|
|
"label": "keycloak-0",
|
|
"kind": "service",
|
|
"role": "source",
|
|
"emphasis": "primary",
|
|
"description": "코디네이터. 분단돼도 살아남는다.",
|
|
"details": [
|
|
"cluster_size 1"
|
|
],
|
|
"evidence": [
|
|
{
|
|
"start_line": 226,
|
|
"end_line": 236
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "fwd",
|
|
"label": "막은 방향",
|
|
"kind": "channel",
|
|
"role": "control",
|
|
"emphasis": "warning",
|
|
"description": "raw 테이블 PREROUTING 에서 끊는다.",
|
|
"details": [
|
|
"conntrack 보다 먼저"
|
|
],
|
|
"evidence": [
|
|
{
|
|
"start_line": 226,
|
|
"end_line": 236
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "k1",
|
|
"label": "keycloak-1",
|
|
"kind": "service",
|
|
"role": "target",
|
|
"emphasis": "normal",
|
|
"description": "분단되면 스스로 로드밸런서에서 빠진다.",
|
|
"details": [
|
|
"readiness 실패"
|
|
],
|
|
"evidence": [
|
|
{
|
|
"start_line": 226,
|
|
"end_line": 236
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "rev",
|
|
"label": "열린 반대 방향",
|
|
"kind": "channel",
|
|
"role": "support",
|
|
"emphasis": "normal",
|
|
"description": "비대칭 차단에서는 여기로 재연결한다.",
|
|
"details": [
|
|
"재연결 경로"
|
|
],
|
|
"evidence": [
|
|
{
|
|
"start_line": 226,
|
|
"end_line": 232
|
|
}
|
|
],
|
|
"assumption": false
|
|
}
|
|
],
|
|
"edges": [
|
|
{
|
|
"id": "k0-f",
|
|
"from": "k0",
|
|
"to": "fwd",
|
|
"label": "JGroups 메시지",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 226,
|
|
"end_line": 232
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "f-k1",
|
|
"from": "fwd",
|
|
"to": "k1",
|
|
"label": "차단",
|
|
"kind": "blocked",
|
|
"evidence": [
|
|
{
|
|
"start_line": 226,
|
|
"end_line": 232
|
|
}
|
|
],
|
|
"assumption": false
|
|
},
|
|
{
|
|
"id": "k1-rev",
|
|
"from": "k1",
|
|
"to": "rev",
|
|
"label": "반대 방향으로 재연결",
|
|
"kind": "request",
|
|
"evidence": [
|
|
{
|
|
"start_line": 226,
|
|
"end_line": 232
|
|
}
|
|
],
|
|
"assumption": false
|
|
}
|
|
],
|
|
"legend": [],
|
|
"metadata": {
|
|
"rationale": "방향 하나를 막는 것과 둘을 막는 것의 차이를 그렸다. 주입이 세 번 실패한 곳이기도 하다."
|
|
}
|
|
} |