Files
document-haness/docs/keycloak-session-store/final/assets/a5-partition-asymmetry/a5-partition-asymmetry.alt.md
T
DongHyeonkaandClaude Opus 5 95c0e680b5 docs(keycloak-session-store): take the sentences out of the diagram canvases
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>
2026-09-05 11:50:33 +09:00

1.3 KiB
Raw Blame History

비대칭 차단은 가르지 못한다

Alternative text

한 방향이 막혀도 반대 방향으로 연결이 성립하는 구성. 양방향을 다 막아야 두 멤버가 분리된다.

Long description

JGroups 는 한 방향이 막혀도 열린 방향으로 재연결한다. 그래서 비대칭 차단으로는 cluster_size 가 2 로 유지된다. 양방향을 다 막으면 양쪽 모두 멤버 1개가 되지만 한쪽만 DOWN 이 된다. 코디네이터 쪽이 살아남고 분단된 쪽은 스스로 readiness 를 떨어뜨려 로드밸런서에서 빠지므로 외부 응답은 200 을 유지한다. 전면 장애 경로가 없다.

Elements and evidence

  • keycloak-0 (service): 코디네이터. 분단돼도 살아남는다. Evidence: L226L236.
  • 막은 방향 (channel): raw 테이블 PREROUTING 에서 끊는다. Evidence: L226L236.
  • keycloak-1 (service): 분단되면 스스로 로드밸런서에서 빠진다. Evidence: L226L236.
  • 열린 반대 방향 (channel): 비대칭 차단에서는 여기로 재연결한다. Evidence: L226L232.

Relationships

  • 막은 방향 → keycloak-1: 차단. Evidence: L226L232.
  • keycloak-0 → 막은 방향: JGroups 메시지. Evidence: L226L232.
  • keycloak-1 → 열린 반대 방향: 반대 방향으로 재연결. Evidence: L226L232.