baidu / baidu/bfs

batch cs shutdown

Open
#338 1 comment 0 reactions 0 assignees View on GitHub
2pt 4pt new feature
Dominant language
C++
Stars
2.8k
Forks
551
PR merge metrics
No merged PRs in 30d

Description

- [x] mark the server as Readonly, prevent write/recover to this server
- [x] kick the server on shutdown list one by one. When hi_recover list is empty, then we can kick the next one
- [ ] make sure no hi check appears during the shutdown process(may caused by server down)
- [ ] Add an web interface for user
- [x] 将待下线机器标记为Readonly,保证后续不会有新的写流量及副本恢复的block push到该机器上
- [x] 按下线列表对chunk server进行kick,待hi清零后,kick新机器
- [ ] 保证在下线过程中,不出现hi check
- [ ] 使用户在web页面上可以随意下机器

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the batch CS shutdown flow, including the shutdown list and hi_recover handling. The remaining work is to prevent hi checks during shutdown and provide a web interface for users to select machines for shutdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.