Slave disconnect causing a fullsync under high write pressure
- Dominant language
- C++
- Stars
- 4.4k
- Forks
- 658
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 10
Description
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
### Version
# 环境:
debian11 , kvrocks 2.8
### Minimal reproduce step
# 问题


1、master 节点写入压力非常大的情况下,发现slave 与master的连接会断开,导致全量发起同步,引起雪崩
2、master在compaction的时候,会卡顿,导致客户端连接断开,引起应用重连

### What did you expect to see?
解决上述问题
### What did you see instead?
如上
### Anything Else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue on Debian 11 with Kvrocks 2.8 under high master write pressure, while reviewing replication and compaction behavior. Done means preventing slave disconnects that trigger full sync and preventing client disconnects during compaction, with regression evidence for both scenarios.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, redis
- Domain
- databases, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100