87 lines
6.9 KiB
XML
87 lines
6.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="1191" viewBox="0 0 680 1191" role="img" aria-labelledby="diagram-title diagram-description">
|
|
<title id="diagram-title">비대칭 차단은 가르지 못한다</title>
|
|
<desc id="diagram-description">JGroups 는 한 방향이 막혀도 열린 방향으로 재연결한다. 그래서 비대칭 차단으로는 cluster_size 가 2 로 유지된다. 양방향을 다 막으면 양쪽 모두 멤버 1개가 되지만 한쪽만 DOWN 이 된다. 코디네이터 쪽이 살아남고 분단된 쪽은 스스로 readiness 를 떨어뜨려 로드밸런서에서 빠지므로 외부 응답은 200 을 유지한다. 전면 장애 경로가 없다.</desc>
|
|
<metadata>{"techviz":{"spec_version":"1.1","id":"a5-partition-asymmetry","profile":"component-flow"},"source_context":{"document":"docs/keycloak-session-store/final/document.md","document_sha256":"28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560","anchor":{"kind":"heading","value":"A-5 · 비대칭 분단 — 전면 장애 경로가 없다","line":576}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
|
<defs>
|
|
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
|
<path d="M 0 0 L 10 5 L 0 10 z" />
|
|
</marker>
|
|
<style>
|
|
:root { color-scheme: light; }
|
|
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
|
.canvas { fill: #ffffff; }
|
|
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
|
.group-label-bg { fill: #ffffff; }
|
|
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
|
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
|
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
|
.edge.style-dotted { stroke-dasharray: 2 5; }
|
|
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.edge.emphasis-muted { stroke: #9ca3af; }
|
|
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
|
.edge-label-bg { fill: #ffffff; }
|
|
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
|
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
|
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
|
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
|
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
|
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
|
.node-shape.assumption { stroke-dasharray: 4 4; }
|
|
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
|
.controller-led { fill: #4b5563; }
|
|
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
|
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
|
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
|
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
|
.node-detail { font-size: 11px; fill: #374151; }
|
|
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
|
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
|
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
|
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
|
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
|
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
|
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
|
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
|
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
|
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
|
</style>
|
|
</defs>
|
|
<rect class="canvas" width="680" height="1191" />
|
|
<polyline class="edge kind-blocked style-solid emphasis-normal" points="110.0,526.0 110.0,645.5 110.0,645.5 110.0,765.0" data-evidence="536-542" />
|
|
<rect class="edge-label-bg" x="112.0" y="631.5" width="44.0" height="22" rx="3" />
|
|
<text class="edge-label" x="134.0" y="646.5">차단</text>
|
|
<polyline class="edge kind-request style-solid emphasis-normal" points="110.0,216.0 110.0,335.5 110.0,335.5 110.0,455.0" data-evidence="536-542" />
|
|
<rect class="edge-label-bg" x="88.2" y="321.5" width="91.7" height="22" rx="3" />
|
|
<text class="edge-label" x="134.0" y="336.5">JGroups 메시지</text>
|
|
<polyline class="edge kind-request style-solid emphasis-normal" points="110.0,836.0 110.0,955.5 110.0,955.5 110.0,1075.0" data-evidence="536-542" />
|
|
<rect class="edge-label-bg" x="112.0" y="941.5" width="44.0" height="22" rx="3" />
|
|
<text class="edge-label" x="134.0" y="956.5">재연결</text>
|
|
<g id="node-k0">
|
|
<rect class="node-shape kind-service emphasis-primary role-source" data-evidence="536-545" x="35.0" y="145.0" width="150.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="110.0" y="172.0">keycloak-0</text>
|
|
<line class="node-detail-divider" x1="49.0" y1="193.0" x2="171.0" y2="193.0" />
|
|
<text class="node-detail" x="51.0" y="210.0">cluster_size 1</text>
|
|
</g>
|
|
<g id="node-fwd">
|
|
<rect class="node-shape kind-channel emphasis-warning role-control" data-evidence="536-545" x="35.0" y="455.0" width="150.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="110.0" y="482.0">막은 방향</text>
|
|
<line class="node-detail-divider" x1="49.0" y1="503.0" x2="171.0" y2="503.0" />
|
|
<text class="node-detail" x="51.0" y="520.0">conntrack 보다 먼저</text>
|
|
</g>
|
|
<g id="node-k1">
|
|
<rect class="node-shape kind-service emphasis-normal role-target" data-evidence="536-545" x="35.0" y="765.0" width="150.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="110.0" y="792.0">keycloak-1</text>
|
|
<line class="node-detail-divider" x1="49.0" y1="813.0" x2="171.0" y2="813.0" />
|
|
<text class="node-detail" x="51.0" y="830.0">readiness 실패</text>
|
|
</g>
|
|
<g id="node-rev">
|
|
<rect class="node-shape kind-channel emphasis-normal role-support" data-evidence="536-542" x="35.0" y="1075.0" width="150.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="110.0" y="1102.0">열린 반대 방향</text>
|
|
<line class="node-detail-divider" x1="49.0" y1="1123.0" x2="171.0" y2="1123.0" />
|
|
<text class="node-detail" x="51.0" y="1140.0">재연결 경로</text>
|
|
</g>
|
|
</svg>
|