refactor: 문서 개선 중
This commit is contained in:
+31
-31
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="689" viewBox="0 0 680 689" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1376" height="319" viewBox="0 0 1376 319" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">방향에 따라 갈리는 업그레이드</title>
|
||||
<desc id="diagram-description">26.7.0 에서 26.7.3 으로 올리는 것은 무중단이었고 87회 요청이 전부 200 이었다. 되돌리기는 Liquibase 가 체크섬 검증에서 막았다. 새 버전이 남긴 체크섬을 옛 버전이 거부하기 때문이다. 그런데 서비스는 살아 있었다. StatefulSet 롤링 업데이트가 첫 파드에서 멈추고 나머지를 건드리지 않았기 때문이다. 롤백 불가는 조건부이며 판단 기준은 databasechangelog 의 행 수가 업그레이드 전후로 같은가이다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"d2-upgrade-direction","profile":"component-flow"},"source_context":{"document":"docs/keycloak-session-store/final/document.md","document_sha256":"1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe","anchor":{"kind":"heading","value":"D-1 · D-2 — 백업과 업그레이드","line":481}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"d2-upgrade-direction","profile":"component-flow"},"source_context":{"document":"docs/keycloak-session-store/final/document.md","document_sha256":"28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560","anchor":{"kind":"heading","value":"D-1 · D-2 — 백업과 업그레이드","line":986}},"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" />
|
||||
@@ -49,43 +49,43 @@
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="680" height="689" />
|
||||
<polyline class="edge kind-read style-solid emphasis-normal" points="265.0,291.0 265.0,339.0 160.5,339.0 160.5,387.0" data-evidence="499-505" />
|
||||
<rect class="edge-label-bg" x="187.0" y="297.0" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="212.8" y="312.0">판단 기준</text>
|
||||
<polyline class="edge kind-blocked style-solid emphasis-normal" points="283.0,291.0 283.0,345.5 394.5,345.5 394.5,400.0" data-evidence="492-497" />
|
||||
<rect class="edge-label-bg" x="313.0" y="303.5" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="338.8" y="318.5">중단 지점</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="274.0,124.0 274.0,172.0 274.0,172.0 274.0,220.0" data-evidence="483-491" />
|
||||
<rect class="edge-label-bg" x="265.6" y="158.0" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="298.0" y="173.0">기동 시 검증</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="394.5,471.0 394.5,525.5 274.0,525.5 274.0,580.0" data-evidence="492-498" />
|
||||
<rect class="edge-label-bg" x="298.4" y="483.5" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="334.2" y="498.5">잔여 파드 응답</text>
|
||||
<rect class="canvas" width="1376" height="319" />
|
||||
<polyline class="edge kind-read style-solid emphasis-normal" points="680.0,158.0 760.0,158.0 760.0,95.5 840.0,95.5" data-evidence="1006-1008" />
|
||||
<rect class="edge-label-bg" x="758.2" y="112.8" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="784.0" y="127.8">판단 기준</text>
|
||||
<polyline class="edge kind-blocked style-solid emphasis-normal" points="680.0,176.0 763.5,176.0 763.5,238.5 847.0,238.5" data-evidence="997-999" />
|
||||
<rect class="edge-label-bg" x="761.8" y="193.2" width="51.5" height="22" rx="3" />
|
||||
<text class="edge-label" x="787.5" y="208.2">중단 지점</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="220.0,167.0 300.0,167.0 300.0,167.0 380.0,167.0" data-evidence="988-996" />
|
||||
<rect class="edge-label-bg" x="267.6" y="125.0" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="300.0" y="140.0">기동 시 검증</text>
|
||||
<polyline class="edge kind-request style-solid emphasis-normal" points="1014.0,238.5 1097.5,238.5 1097.5,167.0 1181.0,167.0" data-evidence="997-1003" />
|
||||
<rect class="edge-label-bg" x="1085.7" y="188.8" width="71.6" height="22" rx="3" />
|
||||
<text class="edge-label" x="1121.5" y="203.8">잔여 파드 응답</text>
|
||||
<g id="node-rollback">
|
||||
<rect class="node-shape kind-process emphasis-warning role-source" data-evidence="483-490" x="199.0" y="60.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="274.0" y="90.0">옛 버전 롤백</text>
|
||||
<rect class="node-shape kind-process emphasis-warning role-source" data-evidence="988-995" x="70.0" y="135.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="145.0" y="165.0">옛 버전 롤백</text>
|
||||
</g>
|
||||
<g id="node-liquibase">
|
||||
<rect class="node-shape kind-process emphasis-warning role-control" data-evidence="483-491" x="124.0" y="220.0" width="300.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="274.0" y="247.0">Liquibase 검증</text>
|
||||
<line class="node-detail-divider" x1="138.0" y1="268.0" x2="410.0" y2="268.0" />
|
||||
<text class="node-detail" x="140.0" y="285.0">ValidationFailedException: 1 changesets check sum</text>
|
||||
<rect class="node-shape kind-process emphasis-warning role-control" data-evidence="988-996" x="380.0" y="131.5" width="300.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="530.0" y="158.5">Liquibase 검증</text>
|
||||
<line class="node-detail-divider" x1="394.0" y1="179.5" x2="666.0" y2="179.5" />
|
||||
<text class="node-detail" x="396.0" y="196.5">ValidationFailedException: 1 changesets check sum</text>
|
||||
</g>
|
||||
<g id="node-changelog">
|
||||
<rect class="node-shape kind-datastore emphasis-primary role-support" data-evidence="499-505" x="70.0" y="400.0" width="181.0" height="71.0" /><ellipse class="node-shape kind-datastore emphasis-primary role-support" cx="160.5" cy="400.0" rx="90.5" ry="13.0" /><path class="storage-bottom" d="M 70.0 471.0 A 90.5 13.0 0 0 0 251.0 471.0" />
|
||||
<text class="node-label" x="160.5" y="427.0">databasechangelog 행 수</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="448.0" x2="237.0" y2="448.0" />
|
||||
<text class="node-detail" x="86.0" y="465.0">전후 행 수 비교</text>
|
||||
<rect class="node-shape kind-datastore emphasis-primary role-support" data-evidence="1006-1008" x="840.0" y="71.8" width="181.0" height="47.3" /><ellipse class="node-shape kind-datastore emphasis-primary role-support" cx="930.5" cy="71.8" rx="90.5" ry="11.8" /><path class="storage-bottom" d="M 840.0 119.2 A 90.5 11.8 0 0 0 1021.0 119.2" />
|
||||
<text class="node-label" x="930.5" y="87.0">databasechangelog 행 수</text>
|
||||
<line class="node-detail-divider" x1="854.0" y1="108.0" x2="1007.0" y2="108.0" />
|
||||
<text class="node-detail" x="856.0" y="125.0">전후 행 수 비교</text>
|
||||
</g>
|
||||
<g id="node-rolling">
|
||||
<rect class="node-shape kind-process emphasis-primary role-control" data-evidence="492-497" x="311.0" y="400.0" width="167.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="394.5" y="427.0">StatefulSet 롤링 업데이트</text>
|
||||
<line class="node-detail-divider" x1="325.0" y1="448.0" x2="464.0" y2="448.0" />
|
||||
<text class="node-detail" x="327.0" y="465.0">나머지 파드 유지</text>
|
||||
<rect class="node-shape kind-process emphasis-primary role-control" data-evidence="997-999" x="847.0" y="203.0" width="167.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="930.5" y="230.0">StatefulSet 롤링 업데이트</text>
|
||||
<line class="node-detail-divider" x1="861.0" y1="251.0" x2="1000.0" y2="251.0" />
|
||||
<text class="node-detail" x="863.0" y="268.0">나머지 파드 유지</text>
|
||||
</g>
|
||||
<g id="node-service">
|
||||
<rect class="node-shape kind-service emphasis-primary role-target" data-evidence="492-498" x="199.0" y="580.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="274.0" y="610.0">외부 서비스</text>
|
||||
<rect class="node-shape kind-service emphasis-primary role-target" data-evidence="997-1003" x="1181.0" y="135.0" width="150.0" height="64.0" rx="7" />
|
||||
<text class="node-label" x="1256.0" y="165.0">외부 서비스</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Reference in New Issue
Block a user