Repository navigation
FIX: Report live membership and response in cluster status - #64
Conversation
|
[Major] 문제 상황
해결 방안 예시 출력과 상태 설명 표를 현재 구현에 맞게 갱신해 주세요 ( [Question] 리뷰 완료 — Blocker 0건, Major 2건, Minor 0건, Question 1건 |
1575ce0 to
31710dd
Compare
|
문서는 관련 작업(cluster status/list, zk status/list) 후 반영 예정입니다. |
|
리뷰 완료 — Blocker 0건, Major 1건, Minor 0건, Question 1건 |
31710dd to
7545d22
Compare
|
업그레이드 진행 및 실패 단계를 추가는 추후에 upgrade 구현 후 별도의 파일(e.g. |
7545d22 to
88b76d8
Compare
|
리뷰 완료 — Blocker 0건, Major 1건, Minor 1건, Question 0건 이전 리뷰에서 제기된 문서 동기화([Major], 작성자가 추후 cluster/zk status·list 작업 후 일괄 반영 예정이라 답변)와 |
oliviarla
left a comment
There was a problem hiding this comment.
전체적으로 함수/변수명이 코드 읽기에 어렵게 작용하고 있어서, 최종적으로 사용자에게 보이는 표 기준으로 용어 수정을 해야 할 것 같습니다.
| return reasons | ||
| } | ||
|
|
||
| func probeErrorReason(err error) string { |
There was a problem hiding this comment.
extractErrorMessage 같이 error 객체에서 원하는 error message만 가져온다라는 의미를 담아야 합니다.
| return row | ||
| } | ||
|
|
||
| func statusServerWarnings( |
There was a problem hiding this comment.
이 함수명을 봐도 정확히 무엇을 수행하는지 이해하기 어렵습니다.
cluster status 네이밍 정리코드 이름을 출력 용어(Nodes / ZK / Warnings)에 맞췄으며, 동작 변경은 없습니다. 파일: 타입 / 필드
함수
|
88b76d8 to
5833d1e
Compare
|
지적 사항 없음 |
🔗 Related Issue
⌨️ What I did
cluster status의 상태 판단 기준을 수정합니다.cache_server_mapping+ 프로세스 조회cache_list노드 + 캐시 서버version응답AS-IS
배포 시 저장한 버전, 그룹, 역할과 프로세스 실행 여부,
cache_server_mapping등록 여부를 표시합니다. Switchover 등으로 토폴로지 형상과 실제 형상이 달라져도 출력에서 확인할 수 없습니다.TO-BE
노드별 실행 버전, 응답 여부, 클러스터 참여 상태를 표시합니다. 토폴로지 형상과 실제 형상을 비교하여 차이를 경고로 나타냅니다. 아래는 g2 그룹의 master와 slave가 전환된 경우입니다.