refactor: 문서 개선 중

This commit is contained in:
donghyeon-ka
2026-09-21 14:30:55 +09:00
parent c93cdea150
commit 805a18f486
1497 changed files with 525837 additions and 59152 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -4,7 +4,7 @@
"title": "덮어쓰기를 만드는 기본키",
"question": "같은 사용자의 두 브라우저가 서로의 토큰을 지우는 이유는 무엇인가",
"type": "architecture",
"direction": "TB",
"direction": "LR",
"audience": [
"BFF 의 토큰 저장을 설계하는 백엔드 엔지니어"
],
@@ -13,11 +13,11 @@
"long_description": "토큰을 PostgreSQL 로 옮겨 다중 인스턴스 문제는 풀렸다. 그러나 기본키가 client_registration_id 와 principal_name 의 조합이고 세션 id 가 들어 있지 않다. 같은 사용자의 두 세션이 같은 행을 쓰므로 나중 로그인이 앞의 토큰을 덮어쓴다. 그리고 로그아웃하면 Redis 세션은 0 키로 정리되지만 PostgreSQL 에는 평문 refresh token 이 한 행 그대로 남는다.",
"source_context": {
"document": "docs/keycloak-session-store/final/document.md",
"document_sha256": "1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe",
"document_sha256": "28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560",
"anchor": {
"kind": "heading",
"value": "B-2 · 저장소를 나눠 풀자 다른 두 문제가 남았다",
"line": 365
"line": 771
}
},
"composition": {
@@ -40,8 +40,8 @@
"details": [],
"evidence": [
{
"start_line": 360,
"end_line": 366
"start_line": 745,
"end_line": 747
}
],
"assumption": false
@@ -56,8 +56,8 @@
"details": [],
"evidence": [
{
"start_line": 360,
"end_line": 366
"start_line": 745,
"end_line": 747
}
],
"assumption": false
@@ -74,8 +74,8 @@
],
"evidence": [
{
"start_line": 370,
"end_line": 377
"start_line": 776,
"end_line": 781
}
],
"assumption": false
@@ -92,8 +92,8 @@
],
"evidence": [
{
"start_line": 378,
"end_line": 384
"start_line": 789,
"end_line": 794
}
],
"assumption": false
@@ -108,8 +108,8 @@
"kind": "write",
"evidence": [
{
"start_line": 370,
"end_line": 377
"start_line": 776,
"end_line": 781
}
],
"assumption": false
@@ -122,8 +122,8 @@
"kind": "write",
"evidence": [
{
"start_line": 370,
"end_line": 377
"start_line": 776,
"end_line": 781
}
],
"assumption": false
@@ -136,8 +136,8 @@
"kind": "blocked",
"evidence": [
{
"start_line": 378,
"end_line": 384
"start_line": 789,
"end_line": 794
}
],
"assumption": false
@@ -147,4 +147,4 @@
"metadata": {
"rationale": "저장소가 아니라 스키마가 원인이라는 것을 키로 보이게 그렸다."
}
}
}