FEATURE: Add zk start, stop, status, list, delete commands#45
Open
f1v3-dev wants to merge 1 commit into
Open
Conversation
namsic
reviewed
Jun 18, 2026
| return nil, nil, err | ||
| } | ||
|
|
||
| return &topo, data, nil |
Comment on lines
+26
to
+28
| if err := ssh.Run(server.Host(), stopCmd); err != nil { | ||
| fmt.Printf(" warning: stop failed: %v\n", err) | ||
| } |
Author
There was a problem hiding this comment.
설계안 스펙대로 아래의 흐름으로 수정하도록 하겠습니다.
- 내부 topology의 servers 목록과 실제 형상이 다르면 실패 처리한다.
- ensemble의 모든 ZK 서버가 중지 상태이지 않다면 실패 처리한다.
- 각 장비마다 서버가 설치된 디렉토리를 제거하고, 내부 메타데이터에서도 제거한다.
f232379 to
c207e26
Compare
namsic
approved these changes
Jun 30, 2026
c207e26 to
40fe703
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Related Issue
⌨️ What I did
start,stop,status,list,delete)를 추가합니다.arcusctl zk start <name> [--node <myid>]: 앙상블 전체 또는 특정 서버 기동arcusctl zk stop <name> [--node <myid>]: 앙상블 전체 또는 특정 서버 중지arcusctl zk status <name>: 각 서버의 상태(leader/follower) 출력arcusctl zk list: 배포된 앙상블 목록 출력arcusctl zk delete <name>: 원격 파일과 로컬 메타데이터 삭제테스트 방법
로컬에 SSH가 설정되어 있다는 가정하에
local-test.yml로 테스트할 수 있습니다.local-test.yml
command