load balance enhancement
Open
class/enhancement
module/master
stat/ready-to-do
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 432
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] 1. ts在unload tablet之后没有减去相应的size,下一次loadbalance会继续被move out
- [ ] 2. 对于同一ts的多轮load balanc,会传入相同的tablet列表,即使列表中已经有tablet在前面几轮中被迁走
- [x] 3. loadbalance由query触发,当loadbalance执行慢于query时,会出现多线程loadbalance的情况,造成迁移频繁或异常
- [x] 4. sort过程中size或qps可能发生变化,导致stl::sort core
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by locating the load-balance implementation and trace tablet unloading, repeated tablet selection, and the sorting path; completion should address the two unchecked load-balance items and include coverage for the reported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100