the command 'safemode leave' doesn't always work
Open
class/bug
module/master
stat/will-see-later
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 432
- PR merge metrics
- No merged PRs in 30d
Description
safemode期间往往有未被kick的ts,master收到leave命令之后会很快将它们kick,这些ts的重启又会导致master重新计算tablet存活率,并因为存活率低又进入safemode
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the master-side handling of the `safemode leave` command and the logic that kicks unremoved TS processes and recalculates tablet liveness. Reproduce the restart loop described in the issue, then identify the relevant tests or entry points for safemode transitions. Done means `safemode leave` remains effective after those TS restarts instead of re-entering safemode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100